What you can do with Ed25519 & RSA SSH Key Generator
- Generate ssh key pair
- Create ed25519 ssh key
How this security utility works
Generate Ed25519 or RSA 2048/4096 SSH key pairs in your browser with Web Crypto. Public keys use the OpenSSH line format; Ed25519 private keys use OpenSSH format and RSA private keys use unencrypted PKCS#8 PEM.
Example input
Key Type: Ed25519, Key Comment: [email protected]Example output
Public Key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK... [email protected]
Private Key: -----BEGIN OPENSSH PRIVATE KEY-----...Practical workflow
- Choose Ed25519 or RSA with a 2048-bit or 4096-bit modulus; these are the options exposed by this tool.
- Enter an optional key comment (such as your email address or host identifier).
- Click Generate to create the key pair using browser Web Crypto support.
- Copy or download the public key (.pub) for authorized_keys and save the private key safely.
Common use cases
- Generating deploy keys for CI/CD pipelines and automated GitHub Actions workflows.
- Creating SSH authentication keys for new cloud servers on AWS, DigitalOcean, and Linode.
- Replacing deprecated 1024-bit RSA keys with Ed25519 or RSA 2048/4096 keys supported by your SSH clients and servers.
Important notes and limitations
- Key generation uses browser Web Crypto; private-key bytes stay in page memory and are not uploaded or persistently saved by this tool. Ed25519 generation requires browser support.
- The public key is standard OpenSSH format. Ed25519 private keys use the OpenSSH private-key format; RSA keys are unencrypted PKCS#8 PEM. Protect the file and restrict its local permissions after download.
Terminal & CLI equivalents
Generate modern Ed25519 key (Recommended)
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519Creates a modern 256-bit elliptic curve SSH key with superior security and speed.
Generate legacy RSA-4096 key
ssh-keygen -t rsa -b 4096 -C "[email protected]" -f ~/.ssh/id_rsaGenerates a traditional 4096-bit RSA key for older enterprise servers and appliances.
Inspect public key fingerprint
ssh-keygen -lf ~/.ssh/id_ed25519.pubDisplays the SHA-256 fingerprint, bit length, and comment of an SSH public key.
SSH Key Type Security & Compatibility Matrix
| Algorithm | Key Size | Equivalent Security | Performance | Compatibility |
|---|---|---|---|---|
| Ed25519 | 256 bits (68 chars) | ~128 bits (RSA-3072+) | Fastest (<1ms) | OpenSSH 6.5+ (All modern Linux, macOS, GitHub, GitLab) |
| RSA 4096 | 4096 bits (736 chars) | ~140 bits | Moderate (~15ms) | Universal (Legacy appliances, vintage Unix, all SSH servers) |
| ECDSA P-256 | 256 bits (140 chars) | ~128 bits | Fast (<2ms) | NIST curve; potential vulnerability to biased RNG implementations |
Common errors & troubleshooting
Permissions 0644 for 'id_ed25519' are too open / UNPROTECTED PRIVATE KEY FILE!
Cause: OpenSSH requires private key files to be exclusively accessible by the file owner.
Solution: Run 'chmod 600 ~/.ssh/id_ed25519' in terminal to restrict file permissions.
Continue your workflow
- SSL Certificate Generator — create self-signed TLS certificates and private keys.
- Chmod Permissions Calculator — calculate octal and symbolic Linux file permissions for SSH keys.
- WebCrypto Encrypt & Decrypt — securely encrypt private key backups before cloud storage.
- Docker Run to Compose — configure Docker container volume mounts for SSH deploy keys.
Frequently asked questions
Why is Ed25519 generally preferred over RSA for SSH keys?
Ed25519 public keys are compact and generation and signing are typically efficient. RSA may be needed for older systems; choose an algorithm supported by the servers and clients you use, and protect the private key in either case.
Is it safe to generate an SSH key pair inside a web browser?
The tool creates keys with the browser Web Crypto API. Private-key bytes remain in page memory and are not uploaded or saved by the site; copying or downloading the private key is an explicit action you control.
What file permissions must I give to my downloaded private key?
On Linux or macOS, restrict the downloaded private key to its owner, for example: chmod 600 ~/.ssh/id_ed25519. Use id_rsa as the filename for an RSA key.
What private-key format does this tool download?
Ed25519 downloads use the native OpenSSH private-key format. RSA 2048 and RSA 4096 downloads use unencrypted PKCS#8 PEM, which the tested OpenSSH ssh-keygen command can read.