🔑 SSH Key Generator

Generate RSA and ECDSA key pairs in your browser. Nothing is sent to any server.

Last updated: November 8, 2026 · By the BoltQuickTools team

Get an SSH key on a machine without ssh-keygen

Sometimes you are on a locked-down or borrowed computer without OpenSSH installed and just need a key for a test server, a throwaway VM or a learning exercise. This page creates one with the browser's Web Crypto API.

Creating a key pair

  1. Pick a Key Type: RSA 2048 bit, RSA 4096 bit, ECDSA P-256 or ECDSA P-384.
  2. Set Comment / Label. It is added to the end of the public key to help you recognise it. Left blank, it becomes user@boltquicktools.
  3. Press Generate Key Pair. RSA 4096 is the slowest to generate.
  4. Use Copy or Download .pub for the public key, and Download Private Key for the private key.

Sample output

An ECDSA P-256 run with the comment deploy@build-box produced this public key and fingerprint. The private half was discarded:

ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ+e/pzE9RYJbyXorjrwYAdMIZy4t9giefWZZz9adAhv9YwON55A3AYe8a59uuRQYBpb4WBXSOYQbE+fOXz1IQc= deploy@build-box

Fingerprint: SHA256:e+4SYjDuRN/L1nOPX+3AmsaPHO2z9b13KqTmoUtyOPc

Running OpenSSH's ssh-keygen -lf on that file gave the same fingerprint, and ssh-keygen -y loaded the private key without trouble, so the output works with standard tools.

Installing and securing the key

After downloading, keep the private file private and set its permissions, because OpenSSH refuses keys that other users can read. The chmod calculator explains the mode:

chmod 600 ~/.ssh/id_ecdsa
ssh-copy-id -i ~/.ssh/id_ecdsa.pub user@host
ssh -i ~/.ssh/id_ecdsa user@host

What to know before relying on it

Choosing a type, and other uses

Which type should I choose?

ECDSA P-256 keys are short and fast and suit most modern servers. RSA 4096 is the fallback for older systems that do not accept ECDSA. RSA 2048 remains widely accepted but is the weakest of the four options.

Does ssh-rsa in the public key mean SHA-1?

No, that is only the key's type name. Modern OpenSSH signs with SHA-256 or SHA-512 for RSA keys, so this format is accepted even where SHA-1 signatures are disabled.

Can I use it for TLS or to sign tokens?

This page outputs SSH-oriented files, and there is no certificate request option. To examine an existing TLS certificate, try the certificate decoder. For the wider picture of handling keys and secrets, read web security basics.