permission denied (publickey) Error using git on windows 7

后端 未结 15 1940
暖寄归人
暖寄归人 2021-01-29 22:35

When I want to push to github with this command

git push origin master

I got this

Permission denied (publickey).
fatal: The rem         


        
15条回答
  •  说谎
    说谎 (楼主)
    2021-01-29 22:58

    I'm a total newb with git and was following some installation instruction on a website and was getting the permission denied (publickey) error.

    I followed the instructions to generate the RSA key pairs (ssh-keygen -t rsa). This worked fine but I was still getting the error. What I did not realize was that you have to actually go the the GIT website (github.com), register and enter that key on their website.

    I hope this helps out another poor newb out there.

    Cheers!

提交回复
热议问题