GitHub: Permission denied (publickey). fatal: The remote end hung up unexpectedly

前端 未结 23 1791
情深已故
情深已故 2020-11-28 01:09

I have followed these instructions below to upload a project.

Global setup:

 Download and install Git
  git config --global user.name \"Your Name\"
         


        
23条回答
  •  忘掉有多难
    2020-11-28 01:40

    If you are using a linux machine then check,

    • do you have Openssh installed
    • if you do, then do you have an existing public key otherwise you'll have to generate one.
    • is your public key added to your github account.

    Generating new SSH keys and adding them to my Github account solved my problem. You can look into this page for more details. GitHelp.

提交回复
热议问题