SSH Key Generator

Generate SSH key pairs in your browser. Keys are generated locally and never sent to any server.

Keys are generated using the Web Crypto API in your browser. For production use, prefer generating keys with ssh-keygen on your local machine.


Public Key

Click "Generate Key Pair" to create a new key...

Private Key

Click "Generate Key Pair" to create a new key...

FAQ

Which algorithm should I choose?

RSA 4096-bit is widely compatible and very secure. Ed25519 is newer, faster, and produces shorter keys, but may not be supported by all systems.

Is it safe to generate keys online?

This tool generates keys entirely in your browser using the Web Crypto API. No key material is ever sent to our servers. However, for maximum security, use ssh-keygen on your own machine.

How do I use the generated key?

Save the private key as ~/.ssh/id_rsa (chmod 600), and add the public key to ~/.ssh/authorized_keys on the server you want to access.