How To Convert PEM File To PPK Private Key ?
If you are a Windows user and want to connect your AWS EC2 Instance with your .pem file, you will need to convert .pem file to .ppk because we you can use only .ppk file to connect Linux servers. But AWS provides .pem file, So first of all you will need to convert it to .ppk (Putty Private Key) file.
Before converting .pem file please complete the following prerequisites:
- Download PuTTYGen: Download PuTTYGen form the PuTTY Download Page.
- Locate the .pem file : You will need to locat path of the .pem file for the key pair.
Step #1: Download PuTTYGen
You can download PuTTYGen.exe from its Download Page. If you have already downloaded PuTTGen double click on it to launch PTTYGen.
Step #2: Load .pem file to PuTTYGen
Open PuTTYGen software and click on “Load” button.
Now select your .pem file from your system. When you click on “Load” button, by default it shows “PuTTY Private Key Files (*.ppk)“. You will need to click on drop-down list and choose “All Files” now locate your directory where your .pem file is loated and load it.
Now you will get a successful import message and click ‘OK‘ button.
Step #5: Save Converted PPK Private Key
Now save your converted .ppk privage key using “Save Private Key” button.
You will get a warning message saying ” Are you sure you want save this key without a passphrase to protect it?” Now click on “YES” and provide the name to file.
I hope this article will help you to convert .pem file to .ppk. If you have any queries and problem please comment in comment section.