Puttygen export pem

Recently when trying to access a new Amazon server from my Mac, I was given a .ppk by a well meaning Windows/putty user. Using the typical “ssh -i key.ppk root@boxname” didn’t throw any errors, but did ask for a password, which I knew shouldn’t be expected with a key. A little searching found these easy steps to covert the .ppk file to a .pem that ssh can use correctly.Install Homebrew if you haven’t already ruby -e "$(curl -fsSLInstall putty on your Mac brew install puttyConvert the .ppk to a .pem, where key.* is your key file name. puttygen key.ppk -O private-openssh -o key.pemSet the permissions on the new file chmod 600 key.pemssh with the converted .pem key

Puttygen generate pem

Puttygen cer pem

Puttygen import pem

Puttygen.exe help

Puttygen export private key