ssh 无密码登录异常_color

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