生成 SSH 密钥:在线工具与 ssh-keygen 命令
在线生成 SSH 密钥,或用 ssh-keygen 创建 Ed25519/RSA 密钥对。适用于 GitHub、GitLab、Linux 服务器登录和部署密钥。
- Use Ed25519 for most new SSH keys and RSA 4096 only when legacy compatibility requires it.
- A generated SSH key pair includes a private key that stays secret and a public key that can be shared with servers.
- The public key can be added to GitHub, GitLab, Bitbucket, or ~/.ssh/authorized_keys.
生成 SSH 密钥:在线工具与 ssh-keygen 命令
SSH 密钥生成器:在线生成 SSH 密钥