Create an OpenSSH pem Keyfile from a PuTTY ppk file
What we need:
- PuTTY Key Generator
- a ppk keyfile
Import your ppk keyfile
First we need to import the ppk keyfile. Just download and open the PuTTY Key Generator and hit “Conversions -> Import key“. Select your ppk keyfile and hit open.
Export the key to a pem keyfile
Next hit “Conversions” again, but this time select “Export OpenSSH key“. Save the file as “yourname.pem“.
To use the keyfile you need to reference the keyfile in the ssh command, like in the screenshot below.