SSH Key Generator
See exactly what an ed25519 SSH public key file looks like, then get the terminal command to generate a real, usable key pair. Nothing here touches an actual private key.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
Reference layout only — browsers don't yet expose a reliable, wide-support API to produce the full
OpenSSH private-key file format (with its bcrypt-based encryption wrapper) client-side. The public
key below is real ed25519-shaped output for illustration; generate real keys with ssh-keygen -t ed25519 in a terminal.
Public key (id_ed25519.pub)
Private key (id_ed25519)
-----BEGIN OPENSSH PRIVATE KEY----- [Generate this with a real terminal — see the note above] -----END OPENSSH PRIVATE KEY-----
How it works
- Set the comment you'd want attached to the key (typically your email).
- Click generate to see the exact shape and format of an ed25519 SSH public key file.
- Use the shown
ssh-keygencommand in a terminal to produce a real, usable key pair.
FAQ
Why is the private key shown as a placeholder?
The real OpenSSH private key format wraps the key in a bcrypt-based encryption scheme that isn't reliably available through browser APIs yet. Generating an actually usable key pair needs a terminal.
What command should I run for a real key?
ssh-keygen -t ed25519 -C "you@example.com" — available on macOS, Linux, and Windows (via OpenSSH or WSL).
Why ed25519 instead of RSA?
ed25519 keys are shorter, faster to verify, and considered at least as secure as a 3072-bit RSA key by current cryptographic guidance.
Does anything here touch a real server?
No — this page never generates or transmits an actual cryptographic key; it only illustrates the file format and layout.
How we compare
| Feature | Online Tool Store | Online key generators | Terminal ssh-keygen |
|---|---|---|---|
| Never asks you to trust a server with a private key | ✓ | ✗ | ✓ |
| Shows the exact file format up front | ✓ | ✗ | ✗ |
| Produces a real, usable key pair | ✗ | ✗ (often) | ✓ |
If you've never generated an SSH key before, this shows you exactly what the output looks like — then send you to the one place a private key should actually be generated: your own terminal, never a website.