SSH Keypair Generator
Generate secure SSH keypairs (RSA, Ed25519) directly in your browser. Perfect for Git, servers, and secure access.
What is an SSH Keypair?
An SSH (Secure Shell) keypair consists of two files: a public key and a private key. They are used for secure authentication between a client (like your computer) and a server (like GitHub or a Linux VPS). The private key remains on your machine and must be kept secret, while the public key is shared with the services you want to access.
How to Use This SSH Key Generator
1. Choose the Key Type: RSA is widely compatible, while Ed25519 is modern, faster, and more secure with smaller keys.
2. Select the Bit Size (for RSA): 2048 is standard, 4096 is even more secure but slower.
3. Enter a Comment: This is usually your email address, helping you identify the key later.
4. Click Generate SSH Keypair to create the keys instantly in your browser.
5. Copy the Public Key to your server (e.g., added to ~/.ssh/authorized_keys or your GitHub profile).
6. Copy the Private Key and save it locally (e.g., to ~/.ssh/id_rsa or ~/.ssh/id_ed25519). Remember to set correct permissions (chmod 600) on the private key file.
RSA vs Ed25519
- Ed25519: Recommended for most modern use cases. It's faster, more secure, and generates much shorter keys.
- RSA: The most widely used algorithm. Choose this if you need to connect to older servers that don't support Ed25519 yet. 2048-bit is the minimum recommended size.
Privacy and Security
Security is our top priority. This tool uses the Web Crypto API, meaning the key generation happens entirely within your browser. Your private key is never sent to our servers or stored anywhere. Once you close this tab, the keys are gone forever unless you've copied them.
Why Generate Keys in the Browser?
While you can generate keys using ssh-keygen in your terminal, this browser-based tool provides a quick, visual alternative that requires no command-line knowledge. It's ideal for developers who need to quickly generate a key for a new service or for those working on systems where they cannot easily run local commands.