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

前端 未结 23 1741
情深已故
情深已故 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:59

    after you created the RSA key pair, you must to add it to SSH using:

    ssh-add ~/.ssh/id_rsa
    

    or wherever you created your rsa key pair.

提交回复
热议问题