Skip to content

Generate Ed25519 SSH key pairs in OpenSSH format with fingerprints.

Loading tool

About SSH Key Generator

Generates an Ed25519 SSH key pair in OpenSSH format, with a comment you choose, and shows the SHA256 and MD5 fingerprints as ssh-keygen would. You can download id_ed25519 and id_ed25519.pub directly. Keys are generated locally with a CSPRNG and never leave the page, but the private key has no passphrase; for production access, running ssh-keygen on the machine that will use the key is still the better option.

Common uses

  • Create a throwaway key for a test server or CI job
  • Generate a deploy key for a Git repository
  • Get a key on a machine where ssh-keygen is not available
  • Check what an Ed25519 public key line and fingerprint look like

FAQ

Ed25519 or RSA for SSH keys?
Ed25519 is the usual recommendation for new keys: it is fast, the keys are short, and it is supported by OpenSSH since version 6.5 and by GitHub and GitLab. RSA is mainly needed for very old systems.
Where do I put the generated keys?
Save the private key as ~/.ssh/id_ed25519 with permissions 600 and the public key as ~/.ssh/id_ed25519.pub. Add the public key line to ~/.ssh/authorized_keys on the server, or to your Git host's SSH key settings.
How do I add a passphrase to the key?
Run 'ssh-keygen -p -f ~/.ssh/id_ed25519' and enter a new passphrase. The key itself does not change.
How do I check a key's fingerprint?
Run 'ssh-keygen -lf id_ed25519.pub' for the SHA256 fingerprint, or add '-E md5' for the older MD5 format.