RubanTools

SSH Key Generator

Generate RSA or ECDH key pairs in your browser using the Web Crypto API - keys are never sent to our servers.

100% client-side: All key generation happens in your browser using the Web Crypto API. No key material is ever sent to this server.
Key Settings

SSH Keys FAQ

An SSH key pair consists of a private key (kept on your machine, never shared) and a public key (placed on servers you want to access). When you SSH into a server, your machine proves it has the private key by solving a cryptographic challenge using the public key on the server - without ever sending the private key over the network.

RSA is the classic algorithm - 2048-bit is minimum secure, 4096-bit is safer but slower. ECDSA (P-256/P-384) and Ed25519 use elliptic curves - smaller keys with equivalent or better security. Ed25519 is the modern recommendation for new SSH keys (shorter, faster, safer). Note: This tool generates PKCS#8/SPKI format; for OpenSSH format you'd use the ssh-keygen CLI tool.

Save the private key to ~/.ssh/id_rsa with permissions chmod 600 ~/.ssh/id_rsa. Append the public key to the server's ~/.ssh/authorized_keys. Then SSH in with ssh -i ~/.ssh/id_rsa user@server. For production, use the ssh-keygen CLI tool - it generates OpenSSH format keys and can add a passphrase for additional security.