SSH Key Pair Generator
What is an SSH Key Pair Generator?
Generate OpenSSH public keys (`id_rsa.pub`) and private keys (`id_rsa`) in standard OpenSSH PEM format for Linux SSH server logins, GitHub, GitLab, and Bitbucket authentication.
Why Use This Tool?
- Linux Server SSH Authentication: Create SSH key pairs to secure remote SSH access on Ubuntu, Debian, or AWS EC2 Linux servers.
- GitHub & GitLab Deploy Keys: Generate deploy keys for automated CI/CD pipeline server deployments.
- Passwordless Login: Replace password authentication with cryptographic SSH key pairs.
How to Use
- Select Key Type: RSA 2048-bit or RSA 4096-bit.
- Enter optional Key Comment (e.g. `user@devdeskapp.com`).
- Click Generate SSH Key Pair and copy `id_rsa.pub` and `id_rsa` keys.
Real Working Example
Input:
Key Type: RSA 4096 bits | Comment: admin@server.com
Output Result:
Public Key (id_rsa.pub): ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQ... admin@server.com Private Key (id_rsa): -----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAA...
Important Technical Details & Security Standards
- OpenSSH Key Format Engine: Generates RFC 4253 public keys (`ssh-rsa ...`) and OpenSSH private key blocks.
- Web Crypto CSPRNG: Uses browser hardware acceleration for 4096-bit prime number key generation.
- 100% Local Browser Security: Private SSH keys are generated strictly inside local browser memory.
Related Security & Crypto Tools
- RSA Key Pair Generator: Generate RSA key pairs.
- CSR Generator: Generate Certificate Signing Requests.
- Token Generator: Generate secret tokens.
Frequently Asked Questions
Where do I add the public SSH key (id_rsa.pub)?
Paste the public key into ~/.ssh/authorized_keys on your Linux server or in your GitHub/GitLab account SSH settings.
What is the recommended SSH key size for RSA?
RSA 3072-bit or 4096-bit is recommended for strong server security.
Are my private SSH keys uploaded to a server?
No, SSH key generation runs 100% locally inside your web browser.
Is it free?
Yes, 100% free.
What file permissions should I set for my private SSH key on Linux/Mac?
Set strict permissions using `chmod 600 id_rsa` to prevent unauthorized access errors.
Can I use this generated SSH key with PuTTY on Windows?
Yes, convert the private key using PuTTYgen or use OpenSSH natively in Windows PowerShell.