I installed Git a while back on my Win7 machine and told it to use Putty for doing ssh. So now it expects Pageant to be running all the time in order to be able to connect to GitHub.
Today I installed a newer version of Git and told it to use OpenSSH, not Putty. But it keeps trying to authenticate by looking for Pageant.
My identity files are configured correctly, and if I do ssh [email protected]
from my BASH prompt it succeeds. Still, the only way to the remote repo is if Pageant is running.
Where is this configured and how can I instruct msysgit to forget about putty/pageant?
Once your key is open, you want to select Conversions -> Export OpenSSH key and save it to HOME\. ssh\id_rsa . After you have the key at that location, Git Bash will recognize the key and use it.
Git does not know, or care. It just runs ssh. Specifies that ssh(1) should only use the authentication identity files configured in the ssh_config files, even if ssh-agent(1) or a PKCS11Provider offers more identities. The argument to this keyword must be “yes” or “no”.
MsysGit should take its ssh program from the GIT_SSH
environment variable, so even if you did install a newer version, check that your current session include the right GIT_SSH
value.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With