[quote][url]http://hi.baidu.com/goglad/blog/item/a8bc3d2a8f93c8345243c1ac.html[/url][/quote]
问题
解决方案
问题
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/home/robin/.ssh/id_rsa' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/robin/.ssh/id_rsa
解决方案
chmod 755 ~/.ssh/
chmod 600 ~/.ssh/id_rsa ~/.ssh/id_rsa.pub
chmod 644 ~/.ssh/known_hosts
本文详细介绍了如何解决SSH中私钥文件权限设置不当导致的问题,包括私钥文件的权限修改步骤及原因分析。
542

被折叠的 条评论
为什么被折叠?



