Private Key Keep Secret!
Save this to ~/.ssh/ with chmod 600Public Key Safe to Share
Add this to ~/.ssh/authorized_keys on remote serversHelp
SSH Key Generator
Generate SSH key pairs for secure authentication. Keys are generated server-side using OpenSSL.
Key Types:
- Ed25519: Modern, fast, secure (256 bits) - Recommended by GitHub
- RSA: Most widely supported (2048 or 4096 bits)
- DSA: Legacy, 1024 bits (not recommended for new keys)
- EC (Elliptic Curve): Modern, efficient (256, 384, or 521 bits)
Options:
- Password: Optional passphrase to encrypt the private key
- Comment: Identifier added to the public key
Usage:
- Select key type and size
- Optionally add password and comment
- Click "Generate Keys"
- Copy the private key to ~/.ssh/id_ed25519 (or ~/.ssh/id_rsa for RSA)
- Copy the public key to authorized_keys on remote servers
- Set proper permissions:
chmod 600 ~/.ssh/id_ed25519