How to Convert PEM to PPK Format

There are times when we required the PEM files to be converted to PPK format to connect SSH connection.

Use case: AWS EC2 provide a PEM file, and you will need to use the PPK format for SSH connectivity.

SSH (Mac/Linux)

Copy .PEM file to the machine from which you are going to connect.

Make sure permissions on .PEM file are appropriate (chmod 600 file.pem)

Connect with ssh command: ssh vcloud@ipaddress –i privkey.pem

Putty (Windows)

Download Putty and puttygen from – here

Use puttygen to convert .PEM file to .PPK file by following below steps.

Start puttygen and select “Load”

Select your .PEM file.

enter image description here

Putty will convert the .PEM format to .PPK format. 

Select “Save Private Key” A passphrase is not required but can be used if additional security is required.

Connect with Putty.

Hope this helps. And I will see you in next post till then Code with Confidence.

you're currently offline