How to convert a PuTTy .ppk file to openssh format linux [new]
|
07-04-2013, 12:35 PM
(This post was last modified: 03-10-2015 12:23 PM by knifebunny.)
Post: #1
|
|||
|
|||
How to convert a PuTTy .ppk file to openssh format linux [new]
If originally you were SSH keyed while under the Windows platform using puttygen to create a keypair, you may want to use this under a linux environment as well.
It is quite simple to convert the ppk file to the openssh format using puttygen in your linux distro use Quote:apt-get install putty this will subsequently install puttygen then use Quote:puttygen yourfile.ppk -O private-openssh -o the-new-keyfile You will be required to enter the password for the keyfile. Once it has been generated, you can easily side-load this key when you are trying to SSH into a box that is keyed Quote:ssh server.domain.com -i the-new-keyfile To permanently remember your password for the keyfile you have created, edit your ~/.ssh/config add in a line Quote:IdentityFile ~/the-new-keyfile then do Quote:ssh-add ~/the-new-keyfile |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to convert a PuTTy .ppk file to openssh format linux [new] - knifebunny - 07-04-2013 12:35 PM
|
User(s) browsing this thread: 1 Guest(s)