Search code examples
puttyprivate-keytortoisegit

Enabling "Load PuttyKey" on TortoiseGit


The field for uploading a Putty Private Key is currently disabled on my Tortoisegit.

load putty
(source: iforce.co.nz)

Although I currently have valid paths to PuttyGen, GitBash, PuTTY and TortoiseGitPLink.exe. With the environment variable GIT_SSH leading to C:\Program Files\TortoiseGit\bin\TortoisePLink.exe

How to use PuTTY for git cli and git bash?

Create an environment variable called "GIT_SSH" with the path to the PuTTY plink.exe or preferably to TortoiseGitPLink.exe. This can be done on the command line by executing "set GIT_SSH=PATH_TO_PLINK.EXE" ("C:\Program Files\TortoiseGit\bin\TortoiseGitPLink.exe" on default installations) or permanently.

Enviroment Vars
(source: iforce.co.nz)


Solution

  • This just bit me too. The problem is that you have checked out over https instead of using the git protocol (git@github.com:somerepo.git). Try that and see if it helps.