标签:ssh
利用脚本自动建立ssh无密码登陆,系统版本为centos6.5
tailf /var/log/secure
Mar 18 15:35:05 a2 sshd[6521]: Authentication refused: bad ownership or modes for directory /root
Mar 18 15:35:05 a2 sshd[6521]: Authentication refused: bad ownership or modes for directory /root
解决方法:
chmod 0750 /root -R
or chown root.root root
ssh无密码登陆 Authentication refused: bad ownership or modes for directory /root
标签:ssh
原文地址:http://szgb2014.blog.51cto.com/340201/1621866