The field for uploading a Putty Private Key
is currently disabled on my Tortoisegit
.
(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.
(source: iforce.co.nz)
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.
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.
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.
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!).
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.
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