Converting Your Private Keys Linux

How to generate .ppk file from .pem Linux command line.




  • Install puttygen command line tool to convert file.

$ apt-get install putty-tools  



  • After install puttygen, you need to run below command.

$ puttygen pemKey.pem -o ppkKey.ppk -O private



  • Run the puttygen command to convert a .ppk file into a .pem file.
$ puttygen ppkkey.ppk -O private-openssh -o pemkey.pem