This how to will show how to convert id_rsa keys that were already created on Linux, without a passphrase, to .ppk extension so it can be used with Putty on a Windows box.
Download PuttyGen from here and open it. Once it opens click on Conversions => Import Key
Search for the id_rsa key on you computer
Click on “Save Private Key” and “Yes” to save without a passphrase.
Choose a location and a name for the new .ppk key
Now go to putty and add a path to key for the connection
Done!!!
Vic
13 comments:
What about the other way?
I have a key pair created with putty key generator and i want to use them as id_rsa and id_rsa.pub pair in my linux machines.
Is it possible?
What shoul I paste from the saved files into the id_rsa.pub /id_rsa files
Hi Carlos,
If you open the key with puttygen you'll be able to copy the public key from the top box that says "Public key for pasting into OpenSSh authorized_keys file". You can really do as the description says, just copy the txt into your ~/.ssh/authorized_keys file.
For the private key you can just click on "Conversations=>Export OpenSSH key".
Hope it helps!
Vic.
Sorry for my bad english. Thank you so much for your good post. Your post helped me in my college assignment, If you can provide me more details please email me.
In my opinion, it is error.
I have a SmartCard certificate that has the private key marked as UNEXPORTABLE. I can get an export of the public key that I would like to get into the OpenSSH format. Does anyone know how to do that?
How about id_dsa (ciphers other than DES-EDE3-CBC)
Wanted to say thank you to Victor for his help here. I have been desperately trying to find a way to convert my Puttygen created SSH key into something that I could import into Prompt by Panic (an iOS SSH client).
Cheers!
Thank you!
Thanks a lot, this saved my arse :D
Hey your pictures are down :(
They were up last week.
Thanks Victor - still useful!! :-)
Thanks Victor - still useful after all these years!(pictures or not)
PK :-)
thanks!
Post a Comment