Tortoisegit asking password

后端 未结 16 1510
栀梦
栀梦 2020-12-04 11:10

I just started to work on Git. I use windows 7 and has installed msysgit(1.7.8) and Tortoisegit(1.7.6). The repository is created on Linux server which is accessible thru LA

16条回答
  •  忘掉有多难
    2020-12-04 11:30

    What I did to fix this (windows):

    1. Open PuttyGen import my ssh key and convert it into a putty key, save both public and private parts in the .ssh folder (%userprofile%.ssh)
    2. Open Putty and go to Connection->SSH->Auth then set your private key file there.
    3. Go back to Session, select Default Settings and hit Save.
    4. Now try to clone again and you will be asked for the passphrase on your ssh key, enter it and it should work.

提交回复
热议问题