Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository

后端 未结 30 1999
青春惊慌失措
青春惊慌失措 2020-12-12 10:10

I am unable to clone a Git repository, and getting this error:

krishna.soni@KRISHNACHANDRAS /c/Projects $ git clone http://stage.abc.com:10088/pqr
http://<         


        
30条回答
  •  一向
    一向 (楼主)
    2020-12-12 10:50

    I faced the same problem with GitHub. Here's how to solve it!

    1. Generate a SSH key on your computer as described here : Generating SSH keys.
    2. Login your GitHub account: GitHub Login.
    3. In your account, add the newly generated SSH Key: My account SSH keys.
    4. Try again to git clone the project.

提交回复
热议问题