Permissions 0755 for '/home/lonecloud/.ssh/id_rsa' are too open.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0755 for '/home/lonecloud/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/lonecloud/.ssh/id_rsa": bad permissions
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

  出现该问题主要是因为你的ssh中的私钥权限导致的

问题解决:

chmod -R 700 ~/.ssh/

  即可解决

posted @ 2018-09-21 17:48  lonecloud  阅读(4024)  评论(0编辑  收藏  举报
我的博客即将同步至 OSCHINA 社区,这是我的 OSCHINA ID:lonecloud,邀请大家一同入驻:https://www.oschina.net/sharing-plan/apply