SSH Tricks
Get the fingerprint of a key
ssh-keygen -lf /path/to/ssh/key
Get the public key from a private key
ssh-keygen -y -f path/to/private_key_file
** N.B. make sure permissions are 600 on the private key or this may fail
Get the fingerprint of a key
ssh-keygen -lf /path/to/ssh/key
Get the public key from a private key
ssh-keygen -y -f path/to/private_key_file
** N.B. make sure permissions are 600 on the private key or this may fail