Skip to content
hateitall

SSH Key Generator

Get the two SSH key files you need for GitHub or a server when you cannot run ssh-keygen.

Processed locallyIn: Key type, CommentOut: OpenSSH private key, .pub public key

Loading tool…

How to use ssh key generator

  1. Keep Ed25519 unless the server only accepts RSA.

  2. Type your email or device name as the comment.

  3. Generate, then download both files.

  4. Move them into ~/.ssh, run chmod 600 on the private key, and paste the .pub line into GitHub or authorized_keys.

What this tool does

  • OpenSSH private keys in the openssh-key-v1 format that ssh and ssh-keygen read.
  • Public key lines starting ssh-ed25519, ssh-rsa or ecdsa-sha2-nistp256.
  • The SHA256 fingerprint GitHub and ssh-keygen -l show, so you can match keys later.
  • Ed25519, ECDSA P-256 and RSA 3072 or 4096.

How the result is verified

The OpenSSH private key is parsed back, used to sign a random message and checked against the public line; the PEM copy is cross-checked as the same key. Keys from this tool were also tested with ssh-keygen -l, ssh-keygen -y and ssh-keygen -Y sign and verify.

Frequently asked questions

Where do the files go?

On macOS and Linux, save the private key as ~/.ssh/id_ed25519 and the public key as ~/.ssh/id_ed25519.pub, then run chmod 600 ~/.ssh/id_ed25519. On Windows the folder is C:\Users\you\.ssh.

Why does ssh say the key permissions are too open?

ssh refuses private keys other users can read. Run chmod 600 on the private key file and try again.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Ed25519, ECDSA and RSA keys as PEM, JWK and OpenSSH, round-trip tested

Key type→ PEM (SPKI, PKCS#8, PKCS#1)Light on device

RSA 2048 to 4096 keys as PKCS#8, PKCS#1, SPKI, JWK and OpenSSH

Key size→ PEM (PKCS#8, SPKI, PKCS#1)Light on device

Memorable random word passphrases from the EFF list, with entropy shown

Word count · Separator→ TextLight on device

MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC for text or files

Text · Any file→ HexModerate on device