Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)

like image 611
classicjonesynz Avatar asked Jul 17 '13 23:07

classicjonesynz


People also ask

How do I use TortoiseGit with putty?

This section is based on the descriptions above and will bring some examples for the usage with TortoiseGit (and plink). The examples assume that you want to clone [email protected]:/test.git. Start PuTTY, go to Connection -> SSH -> Auth and select your key. Then go to Session, select Default Settings and hit Save.

How do I create a Git key with puttygen?

TortoiseGit comes with PuTTYgen, so let’s use it to create your key: The saved Private Key will be used later below. (I saved it as key.ppk) In order to enable the key, you need to re-login to your git account. Navigate to a location of your choice > Create a folder > Right-click on it > Git Clone.

How to generate a private key from a TortoiseGit file?

If you installed TortoiseGit, you should have Puttygen installed too. Open it and generate a private and a public key. Save the public key and the private key with the same filename, the only difference is that the private key should have a.ppk file extension. Also, copy the public key in the top part of the Putty Key Generator.

How to enable cygwinhack in tortoise Git?

The default in Cygwin Git is true. 4) Go to TortoiseGit the section called “Advanced Settings” and set CygwinHack to true in order to activate Cygwin workarounds. 5) Reboot. As noted above: There is no official support for MSYS2 Git in TortoiseGit (do not enable this for the "Git for Windows" package!).


1 Answers

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

like image 128
Dan Macumber Avatar answered Dec 08 '22 20:12

Dan Macumber