Why is the "Load putty key" field in TortoiseGit disabled?
I would like to connect to my repository using an SSH key instead of a username & password.
However when I try to do this in TortoiseGit I can not enter the key because the "Load Putty Key" is disabled. Can anyone point out why this is happening and how I can enable the field?
In TortoiseGit settings go to Network. In field SSH Client, specify the path to TortoiseGitPLink
SSH and key based authentification is a job of SSH-client (plink) and key-agent (pageant)
Setting correct path to TortoiseGitPlink.exe for SSH client: in Settings->Network should fix the problem. Something like:
BUT, in some cases the new path is not saved for some reason!
As mentioned in the comments, sometimes (in my case TortoiseGit 188.8.131.52) the setting was not being applied. Clicking on OK or Apply was not producing any error, but when closing and opening the Settings again, the old path was there.
In order to workaround this, check also Enable Proxy Server in the same Network menu (do not provide any proxy settings). After this the window will close on OK press, and when reopened, Enable Proxy Server will be unchecked, but the new path will be saved.