Today is a small SSH fingerprint cheatsheet
The fingerprint
Why
Itโs pretty hard to read SSH keys. So fingerprints is a unique shortcut to give a โnameโ to a public key. Itโs mainly used to identify or verify servers you are connecting to.
How
The fingerprint is based on the hostโs public key, like /etc/ssh/rsa_key.pub
Here is how to generate one :
ssh-keygen -l -E md5 -f ~/.ssh/id_rsa.pub
You should see
00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff
Note : the fingerprint can be SHA-256 or hexadecimal MD5, depending on the exact command and version of your ssh-keygen
Tip
Copy a ssh key to your clipboard using command line pbcopy < rsa_key.pub
Reference
Stackoverflow fingerprint
Copy to clipboard