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

后端 未结 30 2065
青春惊慌失措
青春惊慌失措 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:51

    I also faced the same issue. I did the following and it worked for me:

    1. Generate Keys from the GIT GUI client on Windows. Copy this key to the clipboard.
    2. Open up your account on bitBucket/ git website, and add this key to your profile. This way, the server knows that you are a legitimate user accessing from a legitimate system.
    3. That's it. All push commands worked for me henceforth.

提交回复
热议问题