Get online today — Domain + Hosting at discounted prices View Combo Offers ›

SSH Key Pair Generator

Generate secure RSA or Ed25519 SSH keys for server authentication.

Use this tool to instantly generate a highly secure, cryptographically random SSH key pair directly in your browser. It supports both legacy 4096-bit RSA keys and modern, ultra-fast Ed25519 elliptic-curve keys.

SSH keys provide a vastly superior method for authenticating to remote Linux servers, Git repositories (like GitHub and GitLab), and deployment pipelines compared to traditional passwords. They completely eliminate the risk of password brute-forcing.

How it works

An SSH key pair consists of two mathematically linked cryptographic files: a Public Key and a Private Key.

The Public Key: This is the lock. It is completely safe to share. You paste this text into the ~/.ssh/authorized_keys file on your remote Linux server or upload it to your GitHub account settings.

The Private Key: This is the physical key that opens the lock. You must save this file on your local computer (usually inside ~/.ssh/id_rsa or id_ed25519) and never share it with anyone. When you attempt to log into the server, your SSH client uses the private key to mathematically prove your identity to the server without ever sending the key over the network.

RSA vs Ed25519: RSA is the old industry standard and is universally supported, but requires massive 4096-bit keys to remain secure. Ed25519 is a modern elliptic-curve algorithm that offers significantly better security with vastly smaller, faster keys. You should always use Ed25519 unless you are connecting to a legacy system that does not support it.

Frequently asked questions

Is it safe to generate SSH keys online?

While this tool utilizes PHP's secure OpenSSL bindings and immediately discards the keys from memory without logging them, security purists strictly advise against generating private keys on *any* third-party machine. For absolute maximum security (e.g. root production servers), you should generate keys locally on your own terminal using the `ssh-keygen` command.

Can I use this for GitHub/GitLab?

Yes. Simply copy the contents of the Public Key output and paste it directly into the "SSH Keys" section of your GitHub profile settings. You can then save the Private Key locally to authenticate your `git push` commands.

Why does the Private Key look like gibberish?

The private key is a massive cryptographic mathematical value that has been encoded in Base64 (using the standard PEM format) so that it can be safely stored as plain text in a file.

Do these keys have passphrases attached?

No, the keys generated by this specific tool do not have an interactive passphrase, meaning they are ready for immediate use in automated CI/CD pipelines and deployment scripts.

Related tools

Need hosting that just works?

Free SSL, daily backups and 24×7 support on every Loudhost plan.

View Hosting Plans