RFC4716
: SSH2 public or private key. Begins with-----BEGIN OPENSSH PRIVATE KEY-----
PKCS#8
: PKCS8 public or private key. Use the-m PKCS8
option ofssh-keygen
. Begins with-----BEGIN PUBLIC KEY-----
PKCS#1
DER
: Binary formatPEM
: PEM public key. This refers toPKCS#8
when it's used inopenssl
commands.
PKCS8/PKCS1 are specifically for RSA keys.