Convert your private key (.pem to .ppk) using PuTTYgen.
Objectives:
Learn to convert private key from .pem format to .ppk.
Use this tutorial to connect to your Linux instance from Windows using PuTTY.
Step 1: In AWS Console go to EC2 Services. In the side panel, select Key Pairs under Network and Security.
![](https://static.wixstatic.com/media/eed1d9_e4ccda88fc5642f8a5f64246bf059ea6~mv2.png/v1/fill/w_106,h_92,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/eed1d9_e4ccda88fc5642f8a5f64246bf059ea6~mv2.png)
Click on Create Key Pair.
![](https://static.wixstatic.com/media/eed1d9_5f86400ac76f4391803b8d115c352536~mv2.png/v1/fill/w_49,h_3,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/eed1d9_5f86400ac76f4391803b8d115c352536~mv2.png)
Configure it as follows and Create key pair.
![](https://static.wixstatic.com/media/eed1d9_3c2bad3ddd4044788cb43c093455c643~mv2.png/v1/fill/w_46,h_33,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/eed1d9_3c2bad3ddd4044788cb43c093455c643~mv2.png)
The .pem file will download on your local machine. Store it in a safe file structure.
Step 2: Follow this link and download PuTTY. Install it on your local machine.
The installation will give you 2 software applications: PuTTY and PuTTYgen.
Open the PuTTYgen application. Click on Conversions -> Import Key.
![](https://static.wixstatic.com/media/eed1d9_3a3a4fb34eca408c992bf1e249dc837a~mv2.png/v1/fill/w_49,h_8,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/eed1d9_3a3a4fb34eca408c992bf1e249dc837a~mv2.png)
Locate the .pem file and import it in PuTTY. Click on Save private key.
![](https://static.wixstatic.com/media/eed1d9_a18f4a9fa8514f34b18e841828d2f720~mv2.png/v1/fill/w_49,h_20,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/eed1d9_a18f4a9fa8514f34b18e841828d2f720~mv2.png)
Save it with appropriate distinct name and access whenever needed.
![](https://static.wixstatic.com/media/eed1d9_6b51ce1572bd48b7b2b60d489ee71dfa~mv2.png/v1/fill/w_49,h_6,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/eed1d9_6b51ce1572bd48b7b2b60d489ee71dfa~mv2.png)
Was this document helpful? How can we make this document better. Please provide your insights. You can download PDF version for reference.