DEV Community

Ashwin Raiyani
Ashwin Raiyani

Posted on

Step 2:Converting .pem to .ppk on Windows

If you don’t already have PuTTYGen and PuTTY already installed navigate to:

PuttyGen

https://www.puttygen.com/#Download_PuTTYgen_on_Windows (Links to an external site.)Links to an external site.

PuTTY

https://www.puttygen.com/download-putty#PuTTY_for_windows (Links to an external site.)Links to an external site.

After installation, review the PuTTYGen and PuTTY instructions for this activity:

Converting .pem to .ppk on Windows

Click on Start menu> All Programs > PuTTY > PuTTYgen.

puttygen-window
puttygen-window
The following window will present with options on the crucial a user wants to generate. Select the option ‘RSA (Rivest–Shamir–Adleman). RSA is a public-key cryptosystem that is commonly used to transmit data securely. Users with an older version of PuTTY should select the option – ‘SSH-2 RSA.’

Load .PEM file to puttygen
Load .PEM file to puttygen
Next, click on the option ‘Load.’ As PuTTY supports its native file format, it will only show files that have .ppk file extension. Therefore, users have to choose the ‘All Files’ option from the drop-down bar. It will display all key files included the .pem file.

save private key
save private key
Now, select the .pem file that you want to convert. As aforementioned that PuTTYgen is used for SSH connectivity, so it crucial for users to select the specific file that they plan to convert and click ‘Open.’ To confirm, click on ‘OK.’
In the resultant window, click on ‘Save private key’ which will convert and save the key file in PuTTY compatible format.
PuTTYgen will prompt a warning of saving the key without a passphrase. Hit ‘Yes’ on it.

save private key
save private key
Now, give the name to your file and PuTTYgen will automatically add .ppk file extension.

Top comments (0)