Using the keys
- Save the private key as
~/.ssh/id_ed25519(orid_rsa) and runchmod 600on it. - Add the public key to the server’s
~/.ssh/authorized_keys, or to GitHub → Settings → SSH keys. - Optionally add a passphrase:
ssh-keygen -p -f ~/.ssh/id_ed25519.
For production servers, generating keys with ssh-keygen on your own machine is the gold standard; this tool is equivalent and never transmits the keys.
Frequently asked questions
Ed25519 or RSA?
Ed25519: shorter, faster and secure. Use RSA 3072/4096 only for old systems that do not support Ed25519.
Are the keys sent to your server?
No, they are generated and shown only in your browser.
Why is Ed25519 unavailable?
Older browsers lack Ed25519 in Web Crypto — update the browser or choose RSA.

