接上一章,关于Linux下免密登陆失败,这里找了Stackoverflow上关于这个问题的讨论:
Adding public key to ~/.ssh/authorized_keys does not log me in automatically
同样的,检查目录和文件权限,确保.ssh目录权限为700,authorized_keys文件权限为600
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
问题链接:
Adding public key to ~/.ssh/authorized_keys does not log me in automatically
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)