In this guide, we’ll walk you through the step-by-step process of converting a .pem
file into a .ppk
file using PuTTY.
Step 1: Download and Install PuTTY
- Visit the official PuTTY website to download the installer.
- Once downloaded, run the installer and follow the prompts to complete the installation.
Step 2: Open PuTTYgen
- After installation, search for PuTTYgen in your Start Menu and open it.
- On the PuTTYgen home screen, under the Actions section, click Load to load an existing private key file.
Step 3: Load the PEM File
- A file explorer window will open.
- At the bottom right corner, change the file type filter from PuTTY Private Key Files (*.ppk) to All Files.
- Select the
.pem
file you want to convert and click Open.
Step 4: Import the PEM Key
After selecting the file, you should see the following message:
Successfully imported foreign key (OpenSSH SSH-2 private key (old PEM format)).
To use this key with PuTTY, you’ll need to click Save private key to save it in PuTTY’s format.
Step 5: Save the Key as a PPK File
- Under the Actions section, click Save private key.
- You may see a warning:
PuTTYgen Warning
Click Yes (unless you want to add a passphrase).
Are you sure you want to save this key without a passphrase to protect it? - Choose a filename for your
.ppk
file and click Save.
You have now successfully converted your PEM file to a PPK file and can use it with PuTTY.