Linux下解决 id_rsa 权限不够
时间:2015-06-02 21:27:46
收藏:0
阅读:326
问题
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ 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
原文:http://www.cnblogs.com/jacker1979/p/4547472.html
评论(0)