Skip to content

Menu

SSH Key Generator

Generate SSH key pairs

Runs entirely in your browserAuth & SecurityFree, no sign-up
Loading tool

01What is SSH Key Generator?

Sometimes you need an SSH key pair on a machine where you can't run ssh-keygen. Maybe it's a locked-down laptop, a Chromebook, or a workshop where half the room is on Windows. This generator makes the pair in your browser with the Web Crypto API, using the browser's own secure random source. Nothing is sent to a server. You pick one of three key types: Ed25519, RSA 2048 or RSA 4096. Under the hood they're built differently, and that affects what you get. Ed25519 keys come out in native OpenSSH formats. The public line is ssh-ed25519 followed by the Base64 key blob and your comment. The private key is an openssh-key-v1 file, the format described in OpenSSH's PROTOCOL.key document. It holds the 32-byte seed and the public key, with no cipher, so there's no passphrase. Older browsers without Ed25519 in Web Crypto show an error asking you to update or choose RSA. RSA keys use public exponent 65537. The public half is written in the SSH wire format from RFC 4253: the string ssh-rsa, then the exponent and modulus as mpints. The private half is a standard PKCS#8 PEM block that starts with BEGIN PRIVATE KEY. That's not the OpenSSH container, but OpenSSH reads PKCS#8 RSA keys, and ssh-keygen -p can rewrite it in OpenSSH format when you add a passphrase. For every pair you also get a fingerprint. It's the SHA-256 of the public key blob in Base64 without padding, the same SHA256:... form that ssh-keygen -l prints. A sample Ed25519 run with the comment you@laptop gave a 91-character public line starting ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI and a fingerprint like SHA256:vjvzJ0M+QeZQCOL+KEwbpC9pmHS0lTgzkF9fYD9Lp/U. Your key and fingerprint will differ every time, since they're random. Each half has Copy and Download buttons, saving files named id_ed25519 and id_ed25519.pub, or id_rsa and id_rsa.pub. A few limits to keep in mind. The private key never has a passphrase, so add one before real use. A browser tab is a fine place for test and lab keys. For a key that guards production servers, generating it with ssh-keygen on the machine that will use it is still the cleaner habit. Also note that an empty comment leaves a trailing space on the public line, which OpenSSH ignores.

Developers, students and sysadmins who need a quick test or lab SSH key pair on a machine where ssh-keygen isn't available. The tool runs entirely in your browser, so your data never leaves your device.

02How to use SSH Key Generator

  1. Choose a key type: Ed25519 for modern servers, or RSA 2048 or RSA 4096 for older systems that don't accept Ed25519
  2. Type a Comment such as you@laptop; it defaults to user@host and is appended to the public key
  3. Click Generate SSH Key Pair
  4. Check the Key Details panel, including the Comment and Fingerprint
  5. Copy or Download the Public Key and the Private Key, and store the private key somewhere safe

03Worked examples

Input: Key type Ed25519, comment you@laptop
Result: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvJmlMNhhfAQw... you@laptop SHA256:vjvzJ0M+QeZQCOL+KEwbpC9pmHS0lTgzkF9fYD9Lp/U
Trimmed public line from one real run. The prefix up to AAAAI is the same for every Ed25519 key, the rest is random.
Input: Key type RSA 2048, comment ci-deploy
Result: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ... ci-deploy (390 characters)
Trimmed. AAAAB3NzaC1yc2EAAAADAQAB encodes ssh-rsa and the exponent 65537, so every key here starts with it.
Input: Key type RSA 4096, empty comment
Result: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQ... (725 characters, ends with a space)
An empty comment leaves a trailing space after the key. OpenSSH ignores it.
Input: First line of the private key, Ed25519 vs RSA
Result: -----BEGIN OPENSSH PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
Ed25519 uses the OpenSSH container. RSA uses PKCS#8 PEM.

04Common use cases

  • Creating a key pair for a lab VM or Raspberry Pi when you're on a machine without OpenSSH installed
  • Generating a throwaway deploy key for a staging CI job, then deleting it after the test run
  • Showing students what id_ed25519 and id_ed25519.pub look like and how the public line is structured
  • Producing sample public keys to test an SSH key upload form or an authorized_keys parser
  • Comparing the size of an Ed25519 public line with an RSA 4096 one before choosing a key type
  • Checking how a SHA256 fingerprint is formed so you can match it against a server's host or user key list

05Tips

  • The private key has no passphrase. Run ssh-keygen -p -f id_ed25519 to add one before you use it anywhere that matters.
  • Run chmod 600 on the downloaded private key. OpenSSH refuses to use a private key file that other users can read.
  • Download both files before switching the key type.
  • Run ssh-keygen -lf on the .pub file and compare it with the Fingerprint shown here, to confirm you saved the right pair.
  • Only the .pub line goes into authorized_keys or your GitHub and GitLab settings. Never paste the private key into a website.

06Related concepts

SSH keys, RSA, Ed25519, public key authentication, key fingerprint.

Frequently Asked Questions

What is SSH Key Generator?

SSH Key Generator is a free, browser-based developer tool on AIDToolStack. Generate SSH key pairs It requires no installation or sign-up and works entirely in your browser.

Is SSH Key Generator free to use?

Yes. No sign-up, no fees and no usage cap.

Does SSH Key Generator store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe