Monday, July 21, 2025

Create .pem file from .ppk using puttygen software in windows for SSH access from cmd

 

Convert .ppk to unencrypted .pem

If .pem is encrypted and .ppk works, you can convert .ppk to a new .pem: 

  1. Open PuTTYgen 

  1. Click Load → Load your .ppk file 

  1. Go to ConversionsExport OpenSSH key 

  1. Save as something like oxfordAIU_unencrypted.pem 

  1. Try SSH again: 

  2.  

    ssh -i path\to\pem user@ip_address