GitHub Error Message - Permission denied (publickey)

后端 未结 30 2133
长发绾君心
长发绾君心 2020-11-22 04:23

Anybody seen this error and know what to do?

I\'m using the terminal, I\'m in the root, the GitHub repository exists and I don\'t know what to do now.



        
30条回答
  •  伪装坚强ぢ
    2020-11-22 05:17

    Make sure ssh-add -l shows a fingerprint of an SSH key that's present in the list of SSH keys in your Github account.

    If the output is empty, but you know you have a private SSH key that works with your github account, run ssh-add on this key (found in ~/.ssh. It's named id_rsa by default, so you'll likely run ssh-add id_rsa).

    Else, follow these instructions to generate an SSH key pair .

提交回复
热议问题