ZapKit

SSH Key Generator

Create an SSH key pair in your browser: an OpenSSH public key for servers and GitHub, plus PEM public and private keys, with the fingerprint.

What is an SSH key pair?

SSH keys let you log in to servers and push code to services like GitHub without a password. A key pair has two halves: a public key you can share and place on servers, and a private key that stays with you and proves your identity.

Developers, students and system administrators need one when setting up a new server, a Git host or a deployment pipeline. This generator creates Ed25519, ECDSA or RSA pairs, gives the OpenSSH public key line, its fingerprint for checking, and PEM files for tools that need them.

How to use the SSH Key Generator

  1. 1.Choose the algorithm

    Ed25519 is modern and compact; RSA 3072 or 4096 suits older systems.

  2. 2.Add a comment

    Usually your name and device, so you can tell keys apart.

  3. 3.Save both keys

    Add the public key to servers; keep the private key secret.

Example: an Ed25519 key

Generating an Ed25519 key with the comment me@laptop:

Public key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5… me@laptop
Fingerprint
SHA256: followed by 43 characters
Private key
-----BEGIN PRIVATE KEY----- (PKCS #8)
Key length
256 bits

The public key line is one row, ready to paste into authorized_keys or GitHub.

Made with Web Crypto, verified with ssh-keygen

Keys are generated by your browser's Web Crypto API and never leave the page. The public key is written in OpenSSH format, ready for authorized_keys, GitHub, GitLab or a cloud console, and its SHA256 fingerprint matches what ssh-keygen -lf prints.

The private key is saved as an unencrypted PKCS #8 PEM file, which OpenSSL and most libraries read. For daily SSH use, the most secure option is still ssh-keygen on the machine that will use the key, so the private key is never copied anywhere.

Frequently asked questions

Which key type should I choose?

Ed25519 for GitHub and modern servers. RSA 3072 or larger if a system doesn't support Ed25519.

How do I add the key to GitHub?

Copy the OpenSSH public key and paste it in Settings → SSH and GPG keys → New SSH key.

Where do I put the private key?

Usually ~/.ssh/, readable only by you: chmod 600.

Does my browser support Ed25519?

Current Chrome, Edge, Firefox and Safari do. If not, choose ECDSA or RSA.

More Developer tools