Calculates on this device. File exports run online.
SSH Key Fingerprint Viewer
Paste public keys: lines of .pub files, authorized_keys or known_hosts, SSH2 PUBLIC KEY blocks or PEM public keys. You get each key’s type, size and fingerprints in the form ssh-keygen -l prints, so you can compare them with what a server or a colleague shows you. Public keys only: never paste a private key into a website.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use it
- Open your public key (for example
~/.ssh/id_ed25519.pub, the file that ends in .pub) or paste the lines ofauthorized_keysorknown_hosts. - Press Show the fingerprints. Each key gets its SHA256 fingerprint (
SHA256:and 43 characters) and its MD5 fingerprint (MD5:and 16 pairs). - To check a fingerprint that ssh printed on a first connection, choose Find the key of a fingerprint and paste the fingerprint and the keys.
- For many files at once, use the box below.
What a fingerprint is
- A fingerprint is the SHA-256 (or MD5) hash of the key itself, so it stays the same when the key is written in another format (a .pub line, an SSH2 block or a PEM block).
- ssh-keygen -l prints the SHA256 form by default and the MD5 form with
-E md5(OpenBSD ssh-keygen manual). - known_hosts lines may hide the host name as a hash (|1|...); the key and its fingerprint can still be read.
Problems it reports
- DSA keys: the current sshd manual of OpenSSH lists no DSA key type, so they are no longer accepted.
- RSA keys smaller than 1024 bits are refused by OpenSSH by default (RequiredRSASize); keys smaller than 3072 bits are smaller than what ssh-keygen makes by default.
- Keys marked @revoked in known_hosts, keys given twice, and a key type that does not fit the key data.
Limits
- Private keys are refused with a plain message and are not read. If you pasted a private key anywhere, make a new key pair.
- SSH certificates (…-cert-v01@openssh.com) are listed but not read.