剑道第一仙

导航

linux信任关系传输文件报错 Permissions 0755 for '/home/lonecloud/.ssh/id_rsa' are too open

参考:https://www.cnblogs.com/lonecloud/p/9687768.html

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0755 for '/home/xxxx/.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/xxxx/.ssh/id_rsa": bad permissions
Password:

 

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

问题解决:

chmod -R 700 ~/.ssh/

 

 

posted on 2022-08-29 13:35  剑道第一仙  阅读(908)  评论(0)    收藏  举报