You are not logged in or registered. Please login or register to use the full functionality of this board...

Post Reply 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


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 -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
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)