Advertisement

SSH Key Fingerprint & Format Converter

Calculate SHA-256 and MD5 fingerprints from OpenSSH public keys. Render Drunken Bishop randomart and convert to RFC 4716 format.

Key Identification

Type: --
Bit Length: --
Comment: --
OpenSSH Visual Art Drunken Bishop
+---[ED25519 256]---+
|                 ..|
|                . .|
|              . .  |
|             . +   |
|        S . . =    |
|       . . + B .   |
|        o = * o .  |
|       . + = * .   |
|        ..+o*.E    |
+----[SHA256]-----+
                

The Drunken Bishop randomart algorithm visually translates cryptographic entropy into an ASCII pattern for rapid visual verification.

Understanding SSH Key Fingerprints

When you connect to an SSH server for the first time via ssh user@host, the client prompts: "The authenticity of host can't be established. RSA key fingerprint is SHA256:...".

Comparing this SHA-256 fingerprint against the server's known public key prevents Man-in-the-Middle (MitM) eavesdropping. Similarly, Git hosting platforms (GitHub, GitLab, Bitbucket) display key fingerprints on your profile to verify which public keys have push access.

Frequently Asked Questions

What is the difference between OpenSSH and RFC 4716 format?

OpenSSH format is a single-line string starting with key type (e.g. ssh-ed25519) followed by base64-encoded key data and comment. RFC 4716 (IETF SECSH) wraps the key in headers: ---- BEGIN SSH2 PUBLIC KEY ---- with lines wrapped at 72 characters.

Why did OpenSSH transition from MD5 to SHA-256 fingerprints?

OpenSSH 6.8 (2015) replaced MD5 hex fingerprints with base64-encoded SHA-256 hashes due to MD5 collision vulnerabilities and improved cryptographic posture.

AI Images