permission denied (publickey) Error using git on windows 7

后端 未结 15 1943
暖寄归人
暖寄归人 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:53

    I was able to resolve this issue as follows:

    When you do:

    ssh-keygen -t rsa
    

    it prompts you to (optionally) enter a filename for saving the generated keys. Specifying a filename wasted my whole day! Next day I let it use the default filename and the problem(s) disappeared! Imagine!!

    Platform was Win7 and msysgit.

提交回复
热议问题