could not load host key: /etc/ssh/ssh_host_rsa_key SSH无法连接
启动SSH服务时提示
could not load host key: /etc/ssh/ssh_host_rsa_key
但是用/etc/init.d/sshd status看状态又是启动了的,远程telnet也可以通端口但就是SSH连接不上,查资料后处理完成,只需要在服务器上依次执行两条命令即可:
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
----------------
Lynx
The quieter you become,the more you are able to hear.