How to Create a PPK file from a PEM file – Windows 10

If you have a Windows computer and need a private key to get access to an AWS EC2 instance, this article shows you how to create one using the popular PuTTY program.

Prerequisites

  1. Download PuTTY a SSH and Telnet client for Windows
  2. Ensure you have your .pem file which you will have downloaded when you set up your key pair when creating your EC2 instance

Creating the .ppk file

Step 1 – Open PuTTYgen, you will see the PuTTY Key Generator window, click on ‘Load’ to upload the .pem file. Don’t click on ‘Generate’ or change any of the other settings.

How to Create a PPK file from a PEM file – Windows 10
Click on ‘Load’ to upload the .pem file

Step 2 – Select the .pem file from the Windows file explorer and upload and you should get the following message

How to Create a PPK file from a PEM file – Windows 10
Successful import message

 

Step 3 – Save the key by clicking on the ‘Save private key’ button

Step 4 – Name the file and you’re done!

 

Leave a Reply