I've run into this before. Much needs to be done to switch to OpenSSH.
Edit
C:\Program Files (x86)\Git\setup.ini
and REMOVE the following lines (IF they are in the file):GIT_SSH=C:\Program Files (x86)\PuTTY\plink.exe SVN_SSH=C:\Program Files (x86)\PuTTY\plink.exe
Edit
C:\Program Files (x86)\Git\etc\profile
and REMOVE the lineexport PLINK_PROTOCOL=ssh
Make sure you have an SSH private key file. File is in OpenSSH format NOT in PuTTY private key format,
.ppk
.Create a
.ssh
directory for the Git user and copy theid_rsa
file there.md c:\Users\Git_User\.ssh
Open a DOS command Window and type in the command
set | more
Look for
GIT_SSH
andSVN_SSH
If found, this indicates that it is configured in the Windows Environmental variables. You will need to remove it from there.
From the Start Menu, open the Control Panel
- Select User Accounts
- Select Change my environment variables
- Highlight GIT_SSH ...
- Click on Delete
- Click on OK
Repeat this for SVN_SSH.
On my machine, doing these operations DISABLES TortoiseGit. It might be better to fix your Git config to use TortoiseGitPlink.exe
. There is also a TortoisePlink.exe
in the TortoiseGit/bin
directory - don't use it. TortoisePlink.exe
does NOT work for me.