SSH Key Generator

Make an SSH key pair without opening a terminal: an id_ed25519 (or id_rsa) private key file and the matching .pub line to paste into GitHub, GitLab, Bitbucket, a hosting panel or a server's authorized_keys. Add a comment such as your email, download both files, and follow the steps below for Windows, Mac or Linux. The keys are made in your browser and never uploaded.

Helps you tell keys apart in GitHub or authorized_keys.

Key generation runs in your browser. What you type never leaves this device.

Features

  • Ed25519 by default; RSA 2048/3072/4096 and ECDSA if a system needs them

  • Private key in OpenSSH format (BEGIN OPENSSH PRIVATE KEY), as ssh-keygen writes

  • Public key line ready for GitHub and authorized_keys, with your comment

  • Downloads named id_ed25519 and id_ed25519.pub (or id_rsa / id_ecdsa)

  • SHA256 fingerprint, the same as ssh-keygen -l prints

  • PEM and JWK formats on the same page

  • Runs in your browser: keys are never sent or stored

Where to use the key

GitHub and GitLab

Push and pull over SSH without typing a password or token.

Logging in to a server

Add the public key to ~/.ssh/authorized_keys on a VPS or cloud machine and switch off password login.

Deploy keys and CI

A separate key for a deployment pipeline or one repository, so it can be removed without touching your own key.

Hosting panels

Paste the public key into cPanel, Hostinger, AWS Lightsail, DigitalOcean or similar when creating a server.

Installing the key

Mac and Linux

  • Move both files into ~/.ssh (create the folder if needed).
  • Run chmod 700 ~/.ssh and chmod 600 ~/.ssh/id_ed25519, or SSH will refuse a private key that others can read.
  • Add a passphrase: ssh-keygen -p -f ~/.ssh/id_ed25519. The downloaded key has none.

Windows 10 and 11

  • Put the files in C:\Users\<you>\.ssh. OpenSSH is built into Windows; ssh and ssh-keygen work in PowerShell.
  • Add a passphrase with ssh-keygen -p -f $HOME\.ssh\id_ed25519.

Adding it to GitHub

  • Open GitHub, Settings, SSH and GPG keys, New SSH key.
  • Paste the whole public key line (starting ssh-ed25519) and save.
  • Test with ssh -T [email protected].

Adding it to a server

Append the public key line to ~/.ssh/authorized_keys for the user on the server (ssh-copy-id does this for you if password login still works). Never copy the private key to the server.

Prefer ssh-keygen when you can

If you already have a terminal, ssh-keygen -t ed25519 -C "[email protected]" does the same job and asks for a passphrase as it goes. This page is for when that isn't convenient.

SSH Key Generator - FAQ