Permissions 0755 for '/home/lonecloud/.ssh/id_rsa' are too open.
Posted lonecloud
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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/
即可解决
以上是关于Permissions 0755 for '/home/lonecloud/.ssh/id_rsa' are too open.的主要内容,如果未能解决你的问题,请参考以下文章
RabbitMq--“access to vhost ‘/‘ refused for user”
Python For Android (P4a):添加权限(Permissions)
Permissions 0644 for ‘/root/.ssh/id_rsa’ are too open处理