Skip to content

Instantly share code, notes, and snippets.

@hasssan
Forked from yosemitebandit/key-fingerprint
Last active December 2, 2018 23:18
Show Gist options
  • Save hasssan/054bf25a288382bcaff885fc22827957 to your computer and use it in GitHub Desktop.
Save hasssan/054bf25a288382bcaff885fc22827957 to your computer and use it in GitHub Desktop.
view your ssh public key's fingerprint; compare this to what Github has listed in the ssh key audit
$ ssh-keygen -l -f /path/to/keys/id_rsa.pub
2048 aa:bb:cc:dd:ee:ff:00:11:22:33:44:55:66:77:88:99 id_rsa.pub (RSA)
# With newer versions of ssh
# form upstream comment
$ ssh-keygen -l -E md5 -f ~/.ssh/my-github-key.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment