系统:centos7

ssh启动故障:

Permissions 0715 for 'id_rsa.rsa' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: id_rsa.rsa Permission denied (publickey,keyboard-interactive).

解决办法:chmod 600 /etc/ssh/ssh_host_*

然后重启systemctl start sshd和systemctl enable sshd