1. 程式人生 > >Permissions 0755 for '/home/lonecloud/.ssh/id_rsa' are too open.

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

ces required read hat ons iss npr war 權限

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