Miscellaneouss

How To Convert PEM File To PPK Private Key ?

If you are a Windows user and want to connect your AWS EC2 Instance  with your .pem file, you will need to convert .pem file to .ppk because we you can use only .ppk file to connect Linux servers. But AWS provides .pem file, So first of all you will need to convert it to .ppk (Putty Private Key) file.

Prerequisites:

Before converting .pem file please complete the following prerequisites:

  • Download PuTTYGen: Download PuTTYGen form the PuTTY Download Page.
  • Locate the .pem file : You will need to locat path of the .pem file for the key pair.

Step #1: Download PuTTYGen

You can download PuTTYGen.exe from its Download Page. If you have already downloaded PuTTGen double click on it to launch PTTYGen.

Step #2: Load .pem file to PuTTYGen

Open PuTTYGen software and click on “Load” button.

Puttykeygen-load-pem-file

Now select your .pem file from your system. When you click on “Load” button, by default it shows “PuTTY Private Key Files (*.ppk)“. You will need to click on drop-down list and choose “All Files” now locate your directory where your .pem file is loated and load it.

puttykeygen-all-pem-files

Now you will get a successful import message and click ‘OK‘ button.

puttykeygen-import-warning-message

Step #5: Save Converted PPK Private Key

Now save your converted .ppk privage key using “Save Private Key” button.

puttykeygen-save-private-key

You will get a warning message saying ” Are you sure you want save this key without a passphrase to protect it?” Now click on “YES” and provide the name to file.

I hope this article will help you to convert .pem file to .ppk. If you have any queries and problem please comment in comment section.

Thanks:)

Thank you! for visiting LookLinux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at LookLinux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment