[ssh private key] Convert windows .ppk to linux .ssh

Background : You have a private key in windows which is called your_private_key.ppk, and your public key is already deploied in the server. What you want to is make your private key works in linux instead of generating a new key and demand server admin to deply it again. So if you have the same situation, you have found the right place.

System : Ubuntu

Tool : putty-tools

Commands :

sudo apt-get install putty-tools
puttygen your_private_key_in_windows.ppk -O private-openssh -o your_private_key_in_linux.ssh
ssh user_name@server_ip -i the_path_of_key/your_private_key_in_linux.ssh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s