Public Key: goes on the server
The Public Key is a single line that you add to ~/.ssh/authorized_keys on the server. It isn't secret: knowing it doesn't let someone log in.
You decide which services we may enable for analytics, personalization, and external content.
We use cookies and similar technologies on our website to personalize content, embed external media, and better understand how individual areas are used.
Necessary cookies
These entries support essential functions such as security, stability, and form processing.
Optional sections
Your data may be processed with your consent or on the basis of legitimate interests. In the cookie settings, you can reject or explicitly allow each optional category.
Some services process personal data in third countries. By consenting, you also agree to this transfer. You can find more information in our Privacy Policy.
You can reopen and change your selection at any time. · 1.0.2
Create an SSH key online with the free SSH Key Generator: an Ed25519 or RSA key pair, directly in your browser with no sign-up, optionally with a passphrase. You get the Public Key as a single line such as ssh-ed25519 AAAAC3Nz… admin@mein-laptop for authorized_keys, the Private Key in OpenSSH format, and the SHA256 fingerprint. The Private Key never leaves this page.
Built by Florian Galz
Key ready? Add it to a ZAP-Hosting VPS when you order.
Appears at the end of the public key so you can identify it on the server later.
Encrypts the private key like ssh-keygen (bcrypt, 16 rounds, AES-256). Without a passphrase, anyone with the file can use it to log in.
The key is generated only in your browser (Web Crypto API). No requests, no storage: the private key never leaves this page.
Choose a type, comment and passphrase, then click “Generate key pair”. The public key, private key and fingerprint will appear here.
Example result
You choose the key type, comment, and optional passphrase; the tool provides a public key, private key, and fingerprint. Below is a real Ed25519 public key as an example. Your key is new with every click, so it will look different.
Example · Fixed example key; every new key is different
Input
Output
| Part | Meaning |
|---|---|
| ssh-ed25519 | Key type: ssh-ed25519 for Ed25519, ssh-rsa for RSA. |
| AAAAC3NzaC1lZDI1… | The actual public key in Base64. Always 68 characters for Ed25519; over 700 for RSA 4096. |
| admin@mein-laptop | Comment: choose any text to help identify the key. It doesn't affect login. |
Why this tool
What this SSH Key Generator does and what it takes care of.
Browser only
Generated on your device using the Web Crypto API. No requests, no storage: your private key never leaves this page.
Ed25519 and RSA
Ed25519 as the modern standard; RSA with 4096 or 3072 bits for older systems.
Optional passphrase
Encrypts the private key like ssh-keygen (bcrypt with 16 rounds, AES-256-CTR).
Genuine OpenSSH format
Private key as -----BEGIN OPENSSH PRIVATE KEY-----, public key as a single line for authorized_keys, just as ssh-keygen writes them.
Fingerprint for verification
Shows the SHA256 fingerprint, the same value returned by ssh-keygen -l.
Commands for adding the key
Ready-to-use commands for ssh-copy-id, authorized_keys, and logging in, with the correct filenames and permissions.
How it works
Go from a new key pair to passwordless login in four steps.
Step 1
Choose Ed25519 (recommended) or RSA. For RSA, set the key length to 4096 or 3072 bits.
Step 2
Optionally enter a comment such as max@laptop and a passphrase, then repeat the passphrase to confirm it. Click “Generate key pair” to create a Public Key, Private Key, and SHA256 fingerprint in your browser.
Step 3
Copy or download the Private Key and Public Key (e.g. id_ed25519 and id_ed25519.pub) and put both in your .ssh folder. On Linux and macOS, set the Private Key's permissions with chmod 600.
Step 4
Copy the public key to ~/.ssh/authorized_keys on the server using ssh-copy-id or the command shown. You can then log in with ssh -i without a password.
Basics
An SSH key is a pair consisting of a Public Key and a Private Key. Instead of entering a password, your computer proves during login that it holds the matching Private Key.
The Public Key is a single line that you add to ~/.ssh/authorized_keys on the server. It isn't secret: knowing it doesn't let someone log in.
The Private Key stays on your computer, ideally in ~/.ssh/ and encrypted with a passphrase. Anyone who gets the unprotected file can log in wherever the matching Public Key is installed.
These ssh-keygen commands create the key pair locally on your computer, in the same OpenSSH format produced by the SSH Key Generator:
ssh-keygen -t ed25519 -C max@laptopssh-keygen -t rsa -b 4096 -C max@laptopExplore more
Generate strong, random passwords directly in your browser — nothing is stored or transmitted.
Built by Rugile Rutkauskaite
Build Unix/Linux file permissions using checkboxes to get an octal value and symbolic notation, or decode them in reverse — including setuid/setgid/the sticky bit and a ready-to-copy chmod command.
Built by Justin Schuessler
Build Cron expressions using a form, with plain-language explanations and a preview of upcoming execution times—all in your browser.
Built by Jakub Martyniak
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from text or files and compare checksums. Runs entirely in your browser.
Built by Luca Stanek
Generate and verify Bcrypt hashes—entirely in your browser, with an adjustable cost factor.
Built by Rugile Rutkauskaite
Password Checker: Check your password's strength, cracking time, and pattern warnings. Runs entirely in your browser; nothing is transmitted.
Built by Luca Stanek
FAQ
Quick answers about key types, passphrases, security, and adding a key to your server.
Three things: the public key as a single line (e.g. ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOqb9NdaBdneuqRd7QOYM6KYP5ZQlUq07JqHDlI7RY1I admin@mein-laptop), the private key in OpenSSH format (-----BEGIN OPENSSH PRIVATE KEY-----), and the fingerprint, e.g. SHA256:f3J1EiY0bTdQMCH1DWyTodDOtoGE0abQW7po14q8jlE. You can copy both keys or download them as id_ed25519 and id_ed25519.pub.
The key pair is generated entirely in your browser using the Web Crypto API. There is no server request, storage, or logging; the Private Key never leaves this page. If you close the tab without saving the key, it's gone. If you'd rather generate the key entirely locally, use ssh-keygen -t ed25519 in the terminal.
Ed25519 is recommended: its keys are short, quick to generate, and supported by OpenSSH since version 6.5 (2014). Use 4096-bit RSA only if an older system, router, or service doesn't support Ed25519 yet. 3072 bits is the minimum we offer for new RSA keys; there is no 2048-bit option. If your browser cannot generate Ed25519 keys yet, the tool shows a notice and a button to switch to RSA.
It's optional but recommended. With a passphrase, the tool encrypts the private key just like ssh-keygen (bcrypt with 16 rounds, AES-256-CTR). Anyone who finds the file can't log in without the passphrase. Use ssh-agent so you don't have to enter it for every connection. You can change it later with ssh-keygen -p -f ~/.ssh/id_ed25519.
The easiest way is ssh-copy-id -i ~/.ssh/id_ed25519.pub root@<server-ip>. Alternatively, run the command shown by the tool on the server: it creates ~/.ssh, appends the line to ~/.ssh/authorized_keys, and sets permissions to 700 and 600 respectively. You can then log in without a password using ssh -i ~/.ssh/id_ed25519 root@<server-ip>.
Yes. The Public Key is a standard OpenSSH line (ssh-ed25519 or ssh-rsa, key, comment), just as ssh-keygen writes it to the .pub file. Add this line to your account's SSH key settings. The Private Key stays on your computer.
Store them in ~/.ssh/ on Linux and macOS, or in C:\Users\<Name>\.ssh\ on Windows. On Linux and macOS, the Private Key needs permissions of 600 (chmod 600 ~/.ssh/id_ed25519), or SSH will reject it. Windows 10 and 11 include OpenSSH, so the files work directly with ssh in the terminal. For PuTTY, import the Private Key into PuTTYgen (Conversions > Import key) and save it as a .ppk file; the tool itself only outputs OpenSSH format. Never share the Private Key; only the .pub file goes on the server.
The fingerprint is a short SHA-256 checksum of the public key, e.g. SHA256:f3J1EiY0bTdQMCH1DWyTodDOtoGE0abQW7po14q8jlE. It lets you identify a key without comparing the entire line. ssh-keygen -l -f ~/.ssh/id_ed25519.pub shows the same value.
Any more questions?
Contact SupportA ZAP-Hosting VPS gives you root access via SSH, your own firewall, and key-based login from day one.
No setup. No risk. Online in seconds.
Looking for more tools? View all developer tools
© 2026 ZAP-Hosting GmbH