pub
What is a .pub file?
text/plain
A .pub file holds an SSH public key in the single-line OpenSSH format — an algorithm name (such as ssh-ed25519), a Base64-encoded key blob, and an optional comment. It is the shareable half of an SSH key pair, added to a server's authorized_keys to grant access.
How to use a .pub file
Use an example .pub to test SSH public-key parsers, authorized_keys tooling, and key-format converters, or to verify fingerprint computation. Sample key material only.
Download example .pub files
- SSH Public Key (Ed25519)An OpenSSH-format Ed25519 public key (the shareable half of the key pair) — a single line of algorithm, Base64 key blob, and comment, for testing SSH public-key parsers and authorized_keys tooling.
- SSH Ed25519 Public Key — SAMPLEOpenSSH-format SAMPLE Ed25519 public key for authorized_keys and SSH parsers.
- SAMPLE OpenSSH Public Key — RSAThe SAMPLE leaf's RSA key in single-line OpenSSH format with a comment — the same key material as the PEM public keys, wrapped the way authorized_keys wants it. Handy for checking that a fingerprint tool agrees across encodings.
- SAMPLE OpenSSH Public Key — ECDSA P-256The P-256 public key in OpenSSH form, whose blob names the curve twice — once in the key type and once inside the payload. Parsers that read only one of the two mis-handle mismatched keys.