I am using TortoiseGit on Windows. When I am trying to Clone from the context menu of the standard Windows Explorer, I get this error:
Please make sur
Here is how I solve this issue. I was using Babun(mintty.exe) on Win7/10. When I have tried many solutions mentioned above, and none of them works. I realized maybe I just used wrong ssh agent...
So I run echo $GIT_SSH
to find out, it shows the path to Plink.exe
.
What I actually expected is OpenSSH.
So, I add following one-liner to ~/.zshrc
file
Note 1: You can execute it in babun directly also
Note 2: You if you use bash then the config file is.bashrc
export GIT_SSH=$(which ssh)
And It works!