About SSH Key Fingerprint
Before trusting a key on a server or in a Git host, compare its fingerprint with the one its owner sees. Paste a public key, or a whole authorized_keys or known_hosts file, and get each key’s SHA-256 and MD5 fingerprints, its type and size, and the randomart picture, in the same form ssh-keygen shows them.
OpenSSH certificates are read too: their key ID, principals, validity and the fingerprint of the CA that signed them. Short RSA and old DSA keys are flagged. Nothing you paste leaves your device.
How it works
- Each line is searched for a key type such as ssh-ed25519 followed by its Base64 data, so options in front of an authorized_keys entry and host names in front of a known_hosts entry are skipped. RFC 4716 blocks (BEGIN SSH2 PUBLIC KEY) are read too.
- The Base64 is decoded into the key’s binary form, which is checked field by field for its type and size: the modulus for RSA, the curve for ECDSA.
- The SHA-256 fingerprint is the hash of that binary form in Base64 without padding; the MD5 one is the older hexadecimal form. For a certificate, the key inside it is hashed, as ssh-keygen does.
Questions
Which fingerprint should I compare?
SHA-256, the form current OpenSSH shows when you first connect to a server and in ssh-keygen -l. The MD5 form is listed for older systems and for services that still show it.
Can I paste a private key?
No, and you should not paste one into any website. The tool refuses private keys. The fingerprint of a key pair is the same for both halves, so the public key (.pub file) is all you need.
Which key types are supported?
RSA, DSA, ECDSA on the three NIST curves, Ed25519, the hardware security key types ending in -sk, and OpenSSH certificates for all of them. Up to 1,000 keys in one file are listed.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.