某天发现虚拟机的ssh2 服务器无法登录了,用抓包工具看,只发现ssh 服务器主动发了RST 包;
用systemctl restart sshd 启动ssh 服务,一切正常;
重装openssh-server 也无法解决;
但是用secureCRT 就是登录不了,那么可以尝试以下方法;
#cd /etc/ssh
#rm ssh_host_*
end
某天发现虚拟机的ssh2 服务器无法登录了,用抓包工具看,只发现ssh 服务器主动发了RST 包;
用systemctl restart sshd 启动ssh 服务,一切正常;
重装openssh-server 也无法解决;
但是用secureCRT 就是登录不了,那么可以尝试以下方法;
#cd /etc/ssh
#rm ssh_host_*
end