Get fingerprint of SSH key

On github.com when you look at your SSH keys, you can see that they show you a fingerprint, not the full public key

So if you had multiple keys, how could you figure out which one maps back to the one on github?

You can run the following to print out all the fingerprints of all the keys

for f in ~/.ssh/*.pub; do echo "$f"; ssh-keygen -lf "$f"; done