码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-09-21 18:24:40      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:his   mod   other   pen   rsa   nec   rom   access   private   

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         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/

  即可解决

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

标签:his   mod   other   pen   rsa   nec   rom   access   private   

原文地址:https://www.cnblogs.com/lonecloud/p/9687768.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!