SSH 密钥生成器
在浏览器中生成 RSA 2048 位或 ECDSA P-256 SSH 密钥对,包含 OpenSSH 公钥和 PKCS#8 PEM 私钥。
交互式工具区
无需注册账号SSH key pair generator
Core processing uses browser APIs and locally loaded libraries, not an upload endpoint. Optional analytics and device or clipboard access are separate privacy considerations. Use synthetic data; browser processing is not a guarantee of confidentiality.
Generates an OpenSSH public key and an OpenSSH-format private key (the format ssh-keygen writes, so ssh loads it directly; a PKCS#8 PEM export is offered too), entirely in your browser — the private key is never transmitted, logged, or stored. Passphrase encryption and PuTTY .ppk export are not offered: doing either safely needs a vetted encryption library, and this tool will not send your key anywhere to get one. Protect the downloaded private key with your SSH agent or disk encryption instead.
Equivalent command line
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519Deploy the public key
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@hostNo ssh-copy-id? Append the public key line to ~/.ssh/authorized_keys on the server (permissions 600), or reference the key from ~/.ssh/config with an IdentityFile ~/.ssh/id_ed25519 line.