SSH Key Generator
Generate an Ed25519 SSH keypair in OpenSSH format.
Runs entirely in your browser — nothing you enter is uploaded, logged, or tracked.
Creates an Ed25519 SSH keypair — the modern, recommended SSH key — in real OpenSSH format: a `-----BEGIN OPENSSH PRIVATE KEY-----` block and a matching `ssh-ed25519 …` public line with your comment. Generated with your browser’s native Ed25519 (WebCrypto); the private key never leaves your device. Save the private key with `chmod 600` and add the public line to `~/.ssh/authorized_keys`.
~/.ssh/authorized_keys~/.ssh/id_ed25519 (chmod 600)🔒 Both keys are generated with your browser’s native Ed25519 and never leave this page. Keep the private key secret.
Frequently asked questions
Is this a real, usable SSH key?
Yes. The keypair is generated with native WebCrypto Ed25519 and encoded in the exact OpenSSH binary format `ssh-keygen` uses, so it works with OpenSSH, GitHub, servers, etc.
Why Ed25519 and not RSA?
Ed25519 is faster, much shorter, and at least as secure as 3072-bit RSA — it’s the current recommendation for new SSH keys. (RSA support can be added if you need it for legacy hosts.)
Should I generate my real keys on a website?
For maximum assurance, `ssh-keygen -t ed25519` locally is the gold standard. This tool runs entirely offline in your browser (no upload) and is great for quick/disposable keys — but on-device generation is always the safest.
How do I use the keys?
Save the private block as `~/.ssh/id_ed25519` (chmod 600), the public line as `~/.ssh/id_ed25519.pub`, and append the public line to the server’s `~/.ssh/authorized_keys`.