Skip to content

Instantly share code, notes, and snippets.

@nick-f
Last active February 1, 2016 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nick-f/b0e5d04acea6e9c17567 to your computer and use it in GitHub Desktop.
Save nick-f/b0e5d04acea6e9c17567 to your computer and use it in GitHub Desktop.

Find MD5 Fingerprint of public key

In OpenSSH version 6.8, the default format for fingerprints was changed from MD5 to SHA256. Meanwhile, GitHub's SSH Keys page still lists the fingerprints as a MD5 hash.

The following outputs the fingerprint as a MD5 hash to allow for easy comparison to GitHub's fingerprint.

ssh-keygen -l -f /path/to/key.pub -E md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment