其他分享
首页 > 其他分享> > 强制断开ssh连接出现ssh崩溃问题

强制断开ssh连接出现ssh崩溃问题

作者:互联网

出现原因

finalshell意外终止,导致ssh连接意外终止
之后怎么都连不上虚拟机的ssh,一看是虚拟机的ssh已经被意外暂停,可能是跟finalshell的意外终止有关

解决

chmod 600 /etc/ssh/ssh_host_rsa_key
chmod 600 /etc/ssh/ssh_host_ecdsa_key
service sshd star

或者

chown -R root.root /var/empty/sshd
chmod 744 /var/empty/sshd
service sshd restart

对于我这种情况,第一种设置过后没有生效,
第二种设置后重启ssh成功。具体原因不明,仅做记录

解答参照http://crx.xmspace.net/failed_to_start_openssh_server_daemon.html

标签:sshd,断开,虚拟机,chmod,ssh,意外,崩溃,600
来源: https://www.cnblogs.com/lucas-big-data/p/14397594.html