Public or private?
Every SSH and PGP key comes as a pair. The public key is meant to be shared: you add it to a server's authorized_keys, to GitHub, or give it to someone so they can encrypt to you. The private key never should be: whoever has it can log in or decrypt as you.
The two get mixed up all the time, especially by people who rarely use keys. Pick what you mean to send, paste the key, and this page tells you what it actually is. If you said public but pasted a private key, you get a clear warning and the send button stays locked until you confirm.
What it checks
- SSH public keys (Ed25519, RSA, ECDSA, security-key types), including several lines from an
authorized_keysfile. - The SHA256 fingerprint of each SSH public key, the same value
ssh-keygen -lf key.pubprints, so the recipient can confirm nothing changed in transit. - RSA key size, with a warning for keys under 2048 bits.
- OpenSSH, PEM and PuTTY private keys, and whether they are protected by a passphrase.
- PGP public and private key blocks, and X.509 certificates.
Why send a public key by one-time link?
A public key isn't secret, but it is a trust decision. If an attacker can swap the key in an email or ticket for their own, they get the access. A one-time link that shows the fingerprint, opened by the intended person, closes that gap. For private keys, which should be rare, add a passphrase to the link and tell the recipient by another channel.
More detail in how to send an SSH key securely. Verifying a file instead of a key? Use the SHA-256 checksum tool.