GitHub Error Message - Permission denied (publickey)

后端 未结 30 2563
长发绾君心
长发绾君心 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

    I know about this problem. After add ssh key, add you ssh key to ssh agent too (from official docs)

    ssh-agent -s
    ssh-add ~/.ssh/id_rsa
    

    After it all work fine, git can view proper key, before couldn't.

提交回复
热议问题