tripl3inf
9/12/2015 - 8:07 PM

Converting openSSH key to RFC 4716 format

Converting openSSH key to RFC 4716 format

#How to convert openSSH key to/from RFC 4716 format:

openSSH => RFC 4716

###Given a private key, export its public key:

ssh-keygen -e -f private_key

RFC 4716 => openSSH

###Convert the exported public key from RFC 4716 format to OpenSSH format (for use in an authorized_keys file, for example):

ssh-keygen -i -f public_key