Converting Key Pair for PuTTy

Modern SSH clients for Linux operating systems, such as PuTTY, no longer natively support the .pem key pair format. Therefore, it is necessary to convert .pem key pairs to the .ppk format before use.

Prerequisite

  • A private key file (.pem) from a key pair. If you do not have one, learn how to create a key pair.

  • The PuTTYgen program, which is included with the PuTTY installation.

Instructions

1. Open the PuTTYgen Program

Launch PuTTYgen, which comes with your PuTTY installation. You can find it by searching for "PuTTYgen" in the Windows Start Menu.

PuTTyGen UI

2. Load Your .pem Key Pair

Click the 'Load' button to open the file browser. Change the file type filter to "All Files (.)" and select the .pem key pair you wish to convert.

Select a .pem Key Pair

3. Convert and Save the Private Key File

After loading the .pem file, PuTTYgen will display the details of the key pair.

.pem Key Pair Loaded
  • Before saving, you have the option to add a passphrase to enhance the security of your private key.

  • Once you are ready, click "Save private key".

Save .ppk Private Key

Your .ppk file is now ready for authentication with PuTTY (see how to connect using PuTTY).

Last updated

Was this helpful?