SSH Key Generator
Create id_ed25519 and id_rsa OpenSSH key pairs ready for ~/.ssh and GitHub.
Computed locally via Web Crypto. Secrets never leave this browser tab.
How to use SSH Key Generator
Keep Ed25519 selected or choose RSA / ECDSA, enter your label such as you@laptop, and click Generate new.
Copy the id_ed25519.pub line for GitHub/authorized_keys and download your OpenSSH private key.
Frequently asked questions
What permissions should ~/.ssh/id_ed25519 have on macOS or Linux?
Run chmod 600 ~/.ssh/id_ed25519 after saving the private key.