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

时间:2023-03-09 07:36:15
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/

  即可解决