Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
739 views
in Technique[技术] by (71.8m points)

ssh - CentOS7 SSHd swap file deletion

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

enter image description here

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...