Most of the windows users uses PuTTy for connecting Linux servers. While using putty we can’t .pem file to login to remote Linux server. We can use only .ppk files in putty to use key based login for Linux server. For example I had created a Linux server on Amazon and it provides in .pem file for login to server. I can easily use this .pem file while using ssh command from Linux system but when i use windows, I can’t use .pem file with putty. This article will help you for converting .pem to .ppk file using PuTTYgen.
I have downloaded PuTTY complete installer from PuTTY Download Page and install. We can also only download PuTTYgen from same download page.
Step 1 –
Open PuTTYgen software and click on load button.
Step 2 –
Now select .pem file from your system. By default it shows only .ppk files in list. So select All Files in drop down in list.
Step 3 –
Now you will see a successful import message.
Step 4 –
You public key will appear on PuTTYgen screen and you can save .ppk files by using Save private key button on screen to save private key files