Reputation: 7020
I have a private ssh key which i used on mac to gain access to my company´s repository.
Currently I´m working under Windows environment and want to access these repo´s with Tortoise HG.
Unfortunaly i seem to need a .ppk, PuttyPrivateKey to let that happen.
Is there a way to convert my existing id_rsa file to a ppk file?
Or alternatively can i use my existing ssh key file under windows environment to access a hg repo?
Thanks in advance!
Upvotes: 5
Views: 8972
Reputation: 1066
I can't say I'm 100% familiar with this topic, however, have you tried using PuTTYgen to Import the id_rsa file?
Using the ‘Import’ command from the ‘Conversions’ menu, PuTTYgen can load SSH-2 private keys in OpenSSH's format and ssh.com's format. Once you have loaded one of these key types, you can then save it back out as a PuTTY-format key (*.PPK) so that you can use it with the PuTTY suite. The passphrase will be unchanged by this process (unless you deliberately change it). [source]
You can download PuTTYgen on the usual PuTTY download page:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Upvotes: 9