ssh linux error Permissions too open

Permissions 0777 for '/etc/ssh/ssh_host_rsa_key' are too open.

It is recommended that your private key files are NOT accessible by others.

 

 

解决办法:

 

[root@localhost ssh]# chmod 600 ssh_host_rsa_key

[root@localhost ssh]# chmod 600 ssh_host_dsa_key

原文地址:https://www.cnblogs.com/shaman/p/3092795.html