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

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

    You need to set up SSH keys.

    This GitHub page explains how to generate keys.

    If you have an existing key, you copy $HOME/.ssh/id_rsa.pub and paste it into the GitHub SSH settings page.

提交回复
热议问题