Make sure your git session references the TortoisePLink.exe
(in GIT_SSH environment variable), as described in "Why git can't remember my passphrase under Windows":
(you might have done the first two steps already)
- convert your key for use with TortoiseGit's
pageant.exe
using TortoiseGit'sputtygen.exe
. - Run TortoiseGit's
pageant.exe
, open your.ppk
file ("Add Key"), and provide your passphrase for your key. add the environment variable:
GIT_SSH=C:\full\path\to\TortoisePlink.exe
This assumes your TortoiseGit is using TortoisePlink.exe
.
The OP scott80109 concludes in the comments:
msysgit was installed to use Open SSH.
I changed it to useplink
, and it now works without a prompt
Erez A. Korn adds in the comments:
I prefer to use openssh as it doesn't require me to have my key in an alternative format (ppk).
I've written a small wrapper to launch thessh-agent
and take care of business and then added it to my Windows Startup.
You can check the code inerezak/ssh-agent-wrapper-win
.