Convert Putty ppk key to SSH key

You cant use a putty ppk to ssh to a remote server from you linux machine. In that case you may need to first convert ppk to ssh file.

For that first you need to install putty on your machine.

$ sudo apt-get install putty

Then goto the directory and run the  following command to convert ppk to ssh file.

$ puttygen key.ppk -O private-openssh -o key.ssh


Here, I assume, kep.ppk is you ppk file and key.ssh will be newly created ssh file.
After this you can ssh to your remote machine/server using following command.

$ ssh user@myserver.com -i key.ssh

Comments

Popular posts from this blog

How to Reset Root Password in Drupal 7 with phpMyAdmin

Drupal - Hiding field group and its Children