Convert pem to ppk file Using PuTTygen
When you create an EC2 instance, aws provides you with .pem file. This .pem file is used to connect EC2 instance from a Linux host. In case you want to connect to EC2 instance via PuTTY, you need to convert .pem to .ppk.
Download PuTTY Key Generator , you must download puttygen.exe software and open it
![puttygen.exe download from ssh.org](https://static.wixstatic.com/media/29860b_a2065273872f4c3eac3b54bbd0dd7362~mv2.png/v1/fill/w_49,h_8,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/29860b_a2065273872f4c3eac3b54bbd0dd7362~mv2.png)
Choose Load. By default, PuTTYgen displays only files with the .ppk extension. To locate your .pem file, select the option to display All Files
![](https://static.wixstatic.com/media/29860b_d68275bec34745229a766375b9ee6a3a~mv2.png/v1/fill/w_61,h_60,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/29860b_d68275bec34745229a766375b9ee6a3a~mv2.png)
Once you load the .pem file, click on OK for successfully import notice
![convert pem to ppk file Using PuTTygen - puttygen notice](https://static.wixstatic.com/media/29860b_9f72addcf43c4956a6f6404fc5fedbc2~mv2.png/v1/fill/w_61,h_60,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/29860b_9f72addcf43c4956a6f6404fc5fedbc2~mv2.png)
Click on Save Private Key, give a name to your key file and make sure the extension is .ppk
Now Open PuTTY, give aws public ip address. Navigate to Connection >> SSH >> Auth
![convert pem to ppk file Using PuTTygen - auth](https://static.wixstatic.com/media/29860b_ba888ec2510744b485597635c8fb159b~mv2.png/v1/fill/w_51,h_50,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/29860b_ba888ec2510744b485597635c8fb159b~mv2.png)
Browse to navigate the .ppk file and click on Open
![](https://static.wixstatic.com/media/29860b_8746342704c948848c58e115aa1c4e91~mv2.png/v1/fill/w_76,h_74,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/29860b_8746342704c948848c58e115aa1c4e91~mv2.png)
Choose Open again, and then choose Yes to trust this connection in the future
![](https://static.wixstatic.com/media/29860b_91e7ebd5a6c0478193e4392b1019edb9~mv2.png/v1/fill/w_54,h_33,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/29860b_91e7ebd5a6c0478193e4392b1019edb9~mv2.png)
Log in using default user names ec2-user
![convert pem to ppk file using PuTTygen - ec2-user](https://static.wixstatic.com/media/29860b_e9ae36a889ac4aaf9cbb659581d4e6a6~mv2.png/v1/fill/w_61,h_39,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/29860b_e9ae36a889ac4aaf9cbb659581d4e6a6~mv2.png)
Enjoy!
Related Posts
![](https://static.wixstatic.com/media/baac51_121a663408ad477dacbfbd49d274712e~mv2.jpg/v1/fill/w_147,h_98,al_c,q_80,usm_0.66_1.00_0.01,blur_2,enc_auto/baac51_121a663408ad477dacbfbd49d274712e~mv2.jpg)
Heading 2
Add paragraph text. Click “Edit Text” to customize this theme across your site. You can update and reuse text themes.