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 continue
question from:https://stackoverflow.com/questions/65862419/centos7-sshd-swap-file-issue