SSH Key Generator (Ed25519 / ECDSA / RSA)
指导
SSH Key Generator
Generate SSH key pairs directly in your browser using the Web Crypto API. Supports Ed25519 (recommended), ECDSA P-256/P-384, and RSA 2048/4096. Your private key is generated locally and never leaves your browser. Download keys in OpenSSH format, view fingerprints, and get quick setup commands.
如何使用
Select your preferred algorithm (Ed25519 is recommended for most use cases), optionally add a comment and passphrase, then click Generate. The tool creates a public/private key pair displayed in OpenSSH format. Copy or download both keys, check the SHA-256 and MD5 fingerprints, and follow the quick setup guide to install your keys on a server.
特征
- 5 Algorithm Options — Ed25519 (modern, fast, recommended), ECDSA P-256, ECDSA P-384, RSA 2048, and RSA 4096 (legacy compatibility).
- OpenSSH Format Output — Private and public keys in standard OpenSSH format, ready to use with ssh, scp, and ssh-agent.
- Key Fingerprints — SHA-256 and MD5 fingerprints displayed for verification, matching the output of ssh-keygen -l.
- 下载和复制 — Download private key (id_ed25519 / id_ecdsa / id_rsa) and public key (.pub) files, or copy to clipboard.
- Custom Comment — Set the comment field appended to the public key (typically user@hostname).
- Quick Setup Guide — Copyable SSH commands customized to your selected algorithm: set permissions, add to authorized_keys, add to agent, and connect.
- Browser-Only Security — Uses the Web Crypto API (SubtleCrypto). Your private key is generated in your browser’s cryptographic engine and never transmitted anywhere.
- Security Guidance — Prominent notice about key handling best practices and when to use local ssh-keygen instead.
Supported Algorithms
Ed25519 (Recommended): Modern elliptic curve algorithm. Fast, secure, small key size (256 bits). Supported by OpenSSH 6.5+ and all modern SSH clients. Best choice for new deployments.
ECDSA P-256 / P-384: Elliptic curve with NIST standard curves. Good performance and security. Widely supported.
RSA 2048: Classic algorithm. Universal compatibility but larger keys. Minimum recommended size for new keys.
RSA 4096: Maximum strength RSA. Use when interacting with legacy systems that don’t support Ed25519 or ECDSA.
