ssh做公钥认证的时候root登陆报错:
0 1 |
Jul 5 14:23:40 TEST sshd[13175]: Authentication refused: bad ownership or modes for directory /root Jul 5 14:23:40 TEST sshd[13175]: Authentication refused: bad ownership or modes for directory /root |
原因:
0 1 2 |
1:.ssh/authorized_keys文件权限; 2:目录所有者; 3:目录权限; |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!