Authentication refused:bad ownership or modes for dircetory /root,ssh免密错误

版权声明:工作和生活的点点滴滴都应该记录下来! https://blog.csdn.net/u011350541/article/details/81070275

1、服务器配置了免密,但是ssh过去时报错,错误如下:

Authentication refused:bad ownership or modes for dircetory /root

2、因为之前有过经验id_ras的权限非600,导致免密失败,检查发现id_ras权限正常600,然后检查发现root目录的权限配置成了777,改成700后,免密正常登陆

3、同类问题第二次碰到了,如下
https://blog.csdn.net/u011350541/article/details/54906181

猜你喜欢

转载自blog.csdn.net/u011350541/article/details/81070275