Linux – Convert OpenSSH Private SSH Key to PEM format In order to convert an existing private key to PEM format, just do the following: