SSH Key Generator
Generate secure SSH keys for authentication instantly.
Everything runs in memory, keys are never stored.
RSA vs Ed25519 Comparison
| Feature | Ed25519 (Recommended) | RSA |
|---|---|---|
| Security | Very High (Modern Curve) | High (at 3072+ bits) |
| Date Introduced | ~2011 (Modern) | 1977 (Legacy) |
| Performance | Extremely Fast | Slower Generation |
| Key Size | Small (68 characters) | Large (~500 characters) |
| Compatibility | OpenSSH 6.5+ | Universal |
Generate Locally
Ed25519 (Recommended)
ssh-keygen -t ed25519 -C "[email protected]"
RSA (Legacy)
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Quick Guide
- 1. Generate Key Pair CHoose Ed25519 for best security and performance. Click Generate.
-
2. Save Private Key
Save the private key content to a file, e.g.,
~/.ssh/id_ed25519. -
3. Set Permissions
Run
chmod 600 ~/.ssh/id_ed25519to secure the key file. -
4. Deploy Public Key
Copy the Public Key content and append it to
~/.ssh/authorized_keyson your remote server.
Why use SSH Keys?
SSH keys provide a more secure way of logging into a server than using a password. A password can eventually be cracked with a brute force attack. SSH keys are nearly impossible to decipher by brute force alone.