TechnosAmigos.com guide on how to convert PPK to PEM File in Ubuntu Linux and Windows computer/laptop.
Both PEM and PPK file are must required files for creating any instances on Amazon Cloud Services. You should be extremely careful about PEM file because once you lose that, you will have no source to download it back. You will have only one option – delete your instance from the server.
PPK to PEM Converter
PPK to PEM file conversion or PEM to PPK file conversion is pretty easy task. On Windows platform, thanks to PuTTY key generator which does the task quite easy but how would you achieve the same result on Linux Ubuntu?
Follow the instructions mentioned below to convert an existing PPK file to PEM file on Linux/Ubuntu –
Installing puttygen on Linux Ubuntu, type –
sudo apt-get install putty-tools
Once that is done, our task is now to convert ppk to pem, type the following command –
puttygen key.ppk -O private-openssh -o key.pem
Finally, if you want convert pem file to ppk file. Enter the following command –
puttygen key.pem -o key.ppk
With that you have converted PPK file to a PEM file easily.