I am using centOS7. I am getting an error here, which is illustrated below. Can anybody please guide as to what should i do.
E325: ATTENTION Found a swap file by the name "/etc/ssh/.sshd_config.swp" owned by: root dated: Sun Jun 16 13:09:12 2019 file name: /etc/ssh/sshd_config modified: YES user name: root host name: Cas process ID: 5766 While opening file "/etc/ssh/sshd_config" dated: Sat Mar 17 09:49:15 2001 NEWER than swap file!
(1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution. (2) An edit session for this file crashed. If this is the case, use ":recover" or "vim -r /etc/ssh/sshd_config" to recover the changes (see ":help recovery"). If you did this already, delete the swap file "/etc/ssh/.sshd_config.swp" to avoid this message. "/etc/ssh/sshd_config" 150L, 4011C Press ENTER or type command to continueenter image description here
Please help me to delete this swap file. And on pressing enter following happens
i hve changed nos to yes but still unable to connect to putty terminal
question from:https://stackoverflow.com/questions/65867697/centos7-sshd-swap-file-deletion