升级openssh后messages文件报错 "Failed to start OpenSSH Server daemon"
升级完openssh后无法登录主机
通过telnet登录上去
查看/var/log/message文件,或者sshd -t检查服务
看报错应该是权限导致的
解决办法:
chmod 600 /etc/ssh/ssh_host_rsa_key
chmod 600 /etc/ssh/ssh_host_ecdsa_key
chmod 600 /etc/ssh/ssh_host_ed25519_key