top of page

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

Choose Load. By default, PuTTYgen displays only files with the .ppk extension. To locate your .pem file, select the option to display All Files

Once you load the .pem file, click on OK for successfully import notice

convert pem to ppk file Using PuTTygen - puttygen notice

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

Browse to navigate the .ppk file and click on Open

Choose Open again, and then choose Yes to trust this connection in the future

Log in using default user names ec2-user

convert pem to ppk file using PuTTygen - ec2-user

Enjoy!

Related Posts

Heading 2

Add paragraph text. Click “Edit Text” to customize this theme across your site. You can update and reuse text themes.

bottom of page