SSH Key Generator
Generate Ed25519 or RSA SSH key pairs in OpenSSH format with ssh-keygen style SHA256 fingerprints. Runs locally with Web Crypto, no uploads.
π Runs entirely in your browser β nothing is uploadedGenerate SSH keys without installing anything
SSH keys let you log in to servers and push to Git hosts such as GitHub or GitLab without typing a
password. This generator creates the key pair with your browser's built-in Web Crypto API and encodes it
exactly like ssh-keygen: the public key is a single line such as
ssh-ed25519 AAAA⦠you@laptop, and the private key is an
-----BEGIN OPENSSH PRIVATE KEY----- file that OpenSSH, PuTTYgen and modern Git clients read
directly. The SHA256 fingerprint shown is computed the same way as ssh-keygen -lf, so you can
compare it with what a server or Git host displays. No part of the key is sent over the network.
Ed25519 or RSA?
Ed25519 is the best choice for almost everyone. Its keys are tiny, signing is fast, and it avoids several pitfalls of older algorithms. It has been supported since OpenSSH 6.5 and is accepted by every major Git host and cloud provider. RSA is still useful for old appliances, legacy servers or strict corporate policies; if you need it, prefer 3072 or 4096 bits over 2048. Ed25519 in Web Crypto needs a recent browser; when it is unavailable the tool tells you and switches to RSA automatically.
Protect and install your keys
The private key is generated without a passphrase so that any SSH client can read it. Save it as
~/.ssh/id_ed25519 (or id_rsa), restrict its permissions with
chmod 600, and then add a passphrase locally with ssh-keygen -p -f ~/.ssh/id_ed25519.
Never email the private key or paste it into chat. Copy only the public key to the server's
~/.ssh/authorized_keys file or to your account's SSH key settings. Use a separate key for each
device, so that you can revoke a lost laptop's key without affecting the others.
How to use
- Pick a key typeChoose Ed25519 (recommended) or RSA 2048/3072/4096 and optionally add a comment such as your email.
- GenerateThe key pair is created locally and shown as an OpenSSH public key line and private key file with its SHA256 fingerprint.
- Install the keysSave the private key in ~/.ssh with chmod 600 and add the public key to authorized_keys or your Git host.