您的位置:首页 > 运维架构 > Linux

linux普通用户免密码登陆不成功,日志提示Authentication refused: bad ownership or modes

2016-03-16 20:41 363 查看
linux的两天机器间设置免密码登陆,使用ssh-keygen -t rsa ,具体方法上网查找。

今天主要想记录普通用户设置后不成功的问题,我用root的用户能够成功。

tail -10f /var/log/secure

有日志打印:Authentication refused: bad ownership or modes for file /home/xxxxxx/.ssh/authorized_keys

解决方法:chmod 600 /home/hadoop/.ssh/authorized_keys
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: