美文网首页
Could not load host key: /etc/ss

Could not load host key: /etc/ss

作者: Qoo酷儿 | 来源:发表于2016-05-22 23:03 被阅读281次

如果你和一样,重置sshd的时候,出现如下的提示:

service ssh restart
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
[....] Restarting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_ecdsa_key

你需要运行一下以下命令,更新 OpenSSH Key
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server

现在,你再重置sshd的时候就不会有上面的提示了

相关文章

网友评论

      本文标题:Could not load host key: /etc/ss

      本文链接:https://www.haomeiwen.com/subject/xlcarttx.html