產生 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 金鑰