SSH Key Generator

Creates an Ed25519, RSA or ECDSA SSH key pair right in your browser, with the private key output in OpenSSH format.

Pick a key type and click "Generate keys". The private key comes in OpenSSH format, the public key as a line for authorized_keys, GitHub, and GitLab.

Which type to choose

Ed25519 is a short key supported by OpenSSH since version 6.5 and by GitHub. Choose RSA at 4096 bits only for older servers and programs that do not know Ed25519.

What to do with the keys

  • save the private key to ~/.ssh/id_ed25519 and run chmod 600 ~/.ssh/id_ed25519;
  • add the public key on the server to ~/.ssh/authorized_keys, or to your GitHub settings;
  • set a passphrase on the key yourself: ssh-keygen -p -f ~/.ssh/id_ed25519.

The same key is produced by the command ssh-keygen -t ed25519 on your own computer: that way the private key never appears on any web page.

Rate this tool

Help us get better

Other tools