How to let TortoiseHg (Mercurial) on Windows use the Private Key file generated (by Puttygen)?
Solution 1:
From the answer almost the same question at stackoverflow.com (by David Tischler):
Add the following to the [ui]-section of the mercurial.ini in your home directory:
[ui]
ssh = tortoiseplink.exe -ssh -i "C:\Users\UserName\mykey.ppk"
Or if you want to specify your ssh username, add
[ui]
ssh = tortoiseplink.exe -ssh -i "C:\Users\UserName\mykey.ppk" -l myusername
(assuming your key is in "C:\Users\UserName\mykey.ppk").
Pageant (already mentioned by others) should work also (even though I haven't tried it myself).
Solution 2:
Looks like you need to run pageant.exe on the .ppk file generated by putty to register it in a place that hg can find it.