SSH Key Generator
100% Client-Side Generation
All keys are generated directly in your browser using the Web Crypto API. We do NOT store, transmit, or have any access to your keys. Your private keys never leave your device.
Optional: Add a comment to identify this key (e.g., your email or hostname)
Recommended: Add a passphrase to protect your private key
- Save your private key: Save to ~/.ssh/id_rsa (or id_ed25519) with chmod 600
- Add public key to server: Append to ~/.ssh/authorized_keys on the remote server
- Connect via SSH: Use ssh -i ~/.ssh/id_rsa user@hostname
- For GitHub/GitLab: Add the public key to your account settings
- Never share your private key: The private key must remain secret and secure