git push to remote repository “Could not read from remote repository”

后端 未结 4 1065
说谎
说谎 2020-12-03 06:52

I searched for a while but I can\'t find a solution to my Problem.

I have a Server I can connect to via ssh with the username git and a local git reposi

4条回答
  •  自闭症患者
    2020-12-03 07:26

    Set GIT_SSH environment variable to the full path of TortoisePlink.exe (you may have to download TortoiseGit for this) instead of PuTTY's plink.exe. This will allow for popup dialog window to prompt for things, i.e., confirm fingerprint, or enter password. If you use plink.exe through Git, you cannot type in responses to plink.exe prompts, which if there are any prompts will cause the fatal error you saw.

提交回复
热议问题