SSH Fingerprint Viewer

Show the SHA256 and MD5 fingerprints and randomart of SSH public keys, as ssh-keygen -lv does.

Get the fingerprint of SSH public keys: the SHA-256 fingerprint OpenSSH shows today (SHA256:…) and the older MD5 form (aa:bb:cc…), plus the key type, size and comment. Paste one key per line from an authorized_keys file, a .pub file or a server's host keys. Use it to check that a key is the one you expect before trusting a server or granting access.

Compare with ssh-keygen -lf ~/.ssh/id_ed25519.pub. When SSH asks you to confirm a new host, the SHA256 fingerprint it shows should match one the server's admin gave you.

Common use cases

  • Check a server's host key fingerprint on first connection
  • Find which key in authorized_keys belongs to whom
  • Match a key in GitHub or GitLab settings to a file

How to use

  1. Paste public keys, one per line.
  2. Read each key's fingerprint, type and comment.

FAQ

Why do I see two fingerprint formats?

OpenSSH switched from MD5 to SHA-256 fingerprints in 2014. Some services still show the old MD5 form.

How do I get a fingerprint on the command line?

Run ssh-keygen -lf key.pub (add -E md5 for the old format).