Private Key Auth
Using a private key for server authentication
pem
: supports both PKCS#1 and PKCS#8ssh
,openssh
: new post-OpenSSH 6.5 internal format, produced byssh-keygen -o
pkcs1
,pkcs8
: variants ofpem
rfc4253
: raw OpenSSH wire formatdnssec
:.private
format output bydnssec-keygen
etc.
- 1.Start PuTTYgen. For Actions, choose Load, and then navigate to your .ppk file.
- 2.Choose the .ppk file, and then choose Open.
- 3.If you don't have a key passphrase skip to 4. For Key passphrase, enter a passphrase. For Confirm passphrase, re-enter your passphrase.
- 4.From the menu at the top of the PuTTY Key Generator, choose Conversions, Export OpenSSH Key. Note: If you didn't enter a passphrase, you receive a PuTTYgen warning. Choose Yes.
- 5.Name the file and add the .pem extension.
- 6.Choose Save.
Run the puttygen command to convert a .ppk file into a .pem file:
$ sudo puttygen ppkkey.ppk -O private-openssh -o pemkey.pem
Last modified 3yr ago