问题: service ssh start
* Starting OpenBSD Secure Shell server sshd Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
* Starting OpenBSD Secure Shell server sshd Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
解决:sudo service ssh start
* Starting OpenBSD Secure Shell server sshd
本文记录了在尝试启动SSH服务时遇到的问题及解决过程。启动时出现错误提示无法加载主机密钥,涉及rsa_key, dsa_key, ecdsa_key 和 ed25519_key等多个密钥文件。通过使用sudo权限再次启动服务解决了该问题。
1万+

被折叠的 条评论
为什么被折叠?



