This article will show you how to generate a
.pem file from an existing
Done easily with homebrew.
$ brew install putty
We will use puttygen to generate the key.
$ puttygen key.ppk -O private-openssh -o key.pem
key.ppk: the original file name/path.
-O private-openssh: the output type.
private-opensshis used to save an SSH-2 private key in OpenSSH’s format.
-o key.pem: the output file name/path.
Installing the key is equivalent to copying it in your