🔑 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
- Pick a Key Type: RSA 2048 bit, RSA 4096 bit, ECDSA P-256 or ECDSA P-384.
- Set Comment / Label. It is added to the end of the public key to help you recognise it. Left blank, it becomes
user@boltquicktools. - Press Generate Key Pair. RSA 4096 is the slowest to generate.
- 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
- The private key has no passphrase. It is unencrypted PKCS#8 (
BEGIN PRIVATE KEY). Add a passphrase on your own machine withssh-keygen -p -f ~/.ssh/id_ecdsa, which also rewrites it in OpenSSH's format. - Consider where it was made. The page's code sends nothing to a server. Even so, the private key exists in the memory of a web page that also loads advertising and analytics scripts. For production servers and anything you care about, run
ssh-keygenlocally instead. - Ed25519 is not offered. OpenSSH's usual modern choice is missing here because this page only uses RSA and ECDSA from Web Crypto.
- The strength labels are fixed text per key type, such as 112-bit for RSA 2048 and 128-bit for P-256. Nothing is measured, and they are not a judgement of your key.
- Download filenames follow the highlighted button. If you press another key type after generating, the file for your RSA key is named
id_ecdsa.pub. Generate again or rename it. - It needs an HTTPS page and Web Crypto. Any current browser on this site has both. If it fails, you get an alert with the browser's error.
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.