About sshkeygen.dev
An SSH key generator that runs entirely in your browser, plus the guides to put the key to use.
Most people should create keys with ssh-keygen. This site is for when there is no terminal at hand: a locked-down laptop, a tablet, a colleague who has never opened a shell. Many web generators create keys on a server or ship trackers. This one writes the same OpenSSH files as ssh-keygen and never sends them anywhere.
How it is built
- A static site with no server-side code.
-
Randomness from the Web Crypto API. RSA and ECDSA use the browser's native implementation; Ed25519 uses
@noble/curves. - The OpenSSH key format, aes256-ctr with bcrypt_pbkdf, fingerprints and randomart are written in TypeScript and tested against the real ssh-keygen.
- A Content Security Policy that allows no network connections and no third-party resources.
Open source
The source is on GitHub under the MIT license. Build it yourself, host it on your own domain or run it offline. Report security problems privately to [email protected].
Who makes it
The team behind Termphin, an SSH client whose sessions are never killed. When you lock your phone, switch from Wi-Fi to mobile data or lose the connection, a small helper on the server keeps the shell running and Termphin puts you back where you left off, screen included, without a tmux setup. It also has an SFTP file browser, snippets, port forwarding and jump hosts, keeps keys in an encrypted vault, and is completely free. Unlike this site, the Termphin app is not open source; the helper it uploads to your server and its terminal engine are.
sshkeygen.dev stays free and works without Termphin. Questions and corrections: [email protected] or a GitHub issue.