Parse SSH Host Key

Input
Output
Example SSH Host Keys

RSA Key (Base64):

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVbO...

RSA Key (Hex):

00:00:00:07:73:73:68:2d:72:73:61:00:00:00:03:01:00:01:00:00:00:81:00:d5:6c:e3...

ED25519 Key (Base64):

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqq...
Properties
Analyse an SSH host key to view details

Parses SSH host keys and extracts fields from them. Supports ssh-rsa, ssh-dss, ecdsa-sha2, and ssh-ed25519 key types.

Analyse SSH Key Restart

Parse SSH Host Key: The Online SSH Host Key Parser for SysAdmins & DevOps

Why Parse an SSH Host Key?

When you connect to a new remote server via SSH (Secure Shell) for the first time, your terminal prompts you to verify the server's "fingerprint." This is a crucial security mechanism designed to prevent Man-in-the-Middle (MITM) attacks. The fingerprint is a cryptographic hash (usually SHA256 or MD5) generated from the server's SSH Public Host Key.

System administrators, DevOps engineers, and security auditors frequently need to inspect authorized_keys or known_hosts files. Our online SSH Host Key Parser instantly decodes the Base64-encoded public key string. It identifies the key algorithm, extracts the comment (often the user or hostname), and automatically calculates both the MD5 (hex) and SHA256 (base64) fingerprints, matching exactly what the OpenSSH client displays.

Engineered for OPSEC: 100% Client-Side Processing

As security professionals, we know that pasting infrastructure details into an online tool requires absolute trust. Even though SSH Host Keys are public by nature, good Operational Security (OPSEC) dictates that you should minimize digital footprints.

We built this SSH key decoder with your privacy as the absolute priority. We never transmit, save, or log your public keys, IP addresses, or hostnames. The Base64 decoding and cryptographic hashing (SHA256/MD5) run completely offline within your web browser's local sandbox memory. Because no data is sent to a remote API, the fingerprint extraction happens instantaneously.

How to Decode and Calculate SSH Fingerprints Online?

Translating your raw SSH public key into verifiable fingerprints is simple and fast:

  1. Paste Your Public Key: Copy your single-line SSH public key (e.g., from your ~/.ssh/id_ed25519.pub or /etc/ssh/ssh_host_rsa_key.pub) and paste it into the input box. It typically starts with algorithms like ssh-rsa, ecdsa-sha2-nistp256, or ssh-ed25519.

  2. Instant Parsing: Our local JavaScript engine immediately decodes the string according to the RFC 4253 specifications.

  3. Verify the Output: The tool will automatically display the parsed fields:

    Key Type / Algorithm: Identifies if the key is RSA, ECDSA, or Ed25519.

    SHA256 Fingerprint: The modern, secure fingerprint format (e.g., SHA256:xxx...) used by default in newer OpenSSH versions.

    MD5 Fingerprint: The legacy hexadecimal fingerprint format (e.g., MD5:xx:xx:...) used in older systems.

    Comment: Extracts the trailing string, usually indicating the user or server name (e.g., user@ubuntu-server).

Frequently Asked Questions (FAQ)

  • Q: Can I paste my SSH Private Key here to get the fingerprint?

    A: Absolutely NOT. You should never paste your Private Key (files starting with -----BEGIN OPENSSH PRIVATE KEY-----) into any online tool. This parser is designed strictly for SSH Public Keys (usually ending in .pub). For your safety, our tool is programmed to block and reject private key formats immediately.

  • Q: Why does the OpenSSH warning show a different fingerprint than my file?

    A: If the terminal shows a different fingerprint when you attempt to connect, you might be connecting to the wrong IP address, or worse, you are being subjected to a Man-in-the-Middle attack. Always use a parser like ours to calculate the true fingerprint of the server's public key and compare it to the warning prompt.

  • Q: Which SSH key algorithms does this parser support?

    A: Our tool fully supports the decoding and fingerprint calculation for all standard OpenSSH key types, including ssh-rsa (RSA), ecdsa-sha2-nistp256 / nistp384 / nistp521 (ECDSA), and the modern, highly recommended ssh-ed25519 (EdDSA).

  • Q: How do you calculate the SHA256 fingerprint?

    A: We follow the exact standard used by OpenSSH (ssh-keygen -l -f). The tool decodes the Base64 portion of your public key into raw bytes, applies a standard SHA-256 cryptographic hash to those bytes, and then encodes the resulting hash back into a Base64 string (stripping the trailing = padding).

Featured Tools

Featured tools that you might find useful.

Popular Tools

List of popular tools that users love and frequently use.

New Tools

The latest tools added to our collection, designed for you.

Topics

The tools grouped by topics to quickly find what you need.
Generate a comprehensive and SEO-friendly XML sitemap instantly with our free online XML Sitemap Generator. Perfect for webmasters and SEO professionals to help search engines crawl and index your website efficiently.

XML Sitemap Generator

Generate a comprehensive and SEO-friendly XML sitemap instantly with our free online XML Sitemap Generator. Perfect for webmasters and SEO professionals to help search engines crawl and index your website efficiently.
Seamlessly convert code between Markdown and HTML with our free online Markdown & HTML Converter. Enjoy 100% secure, browser-based processing with no server uploads and instant results.

Markdown & HTML Converter

Seamlessly convert code between Markdown and HTML with our free online Markdown & HTML Converter. Enjoy 100% secure, browser-based processing with no server uploads and instant results.
Converts Keys in PEM format to a JSON Web Key format and Converts Keys in JSON Web Key format to PEM format (PKCS#8). Securely convert PEM to JWK and JWK to PEM (PKCS#8) online. 100% private, client-side processing. No server uploads. Perfect for JWT and OAuth2 developers.

PEM & JWK Converter

Converts Keys in PEM format to a JSON Web Key format and Converts Keys in JSON Web Key format to PEM format (PKCS#8). Securely convert PEM to JWK and JWK to PEM (PKCS#8) online. 100% private, client-side processing. No server uploads. Perfect for JWT and OAuth2 developers.
Compresses eXtensible Markup Language (XML) code by removing unnecessary whitespace, line breaks, and optionally comments.

XML Minify

Compresses eXtensible Markup Language (XML) code by removing unnecessary whitespace, line breaks, and optionally comments.