Loading...

SSH Key Generator

Keys are generated in your browser. Keep the private key on your device and share only the public key.

Choose OpenSSH for SSH clients, or PEM (PKCS#8) if your application expects it.
A label at the end of the public key to help you identify it.
Enter a passphrase to encrypt the private key with AES-256.

Follow VuiZ.Net on Google Search

Add VuiZ.Net as a preferred source on Google to find your favorite tools more easily.

  • Find your tools again
  • Discover new utilities
  • Support VuiZ.Net
Follow

Generate an SSH key pair in your browser

An SSH key pair lets you authenticate to a server or a Git hosting service. Add the public key to your account or to the server’s authorized_keys file, and keep the matching private key on the device you connect from.

The tool generates both keys using Web Crypto in a secure browser context. Keys and passphrases stay in your browser until you copy or download the result.

Key features

  • Four algorithm choices Use Ed25519 for modern SSH clients, ECDSA P-256 for systems that require that curve, or RSA 2048 or 4096 when the service requires RSA.
  • Private key formats Export the private key as OpenSSH or PEM (PKCS#8). The public key is always a single OpenSSH line with an optional comment.
  • Optional passphrase Provide a passphrase to encrypt the private key with AES-256. Download each key individually or save both in a ZIP file.
  • Fingerprint and installation Compare the public key’s SHA-256 fingerprint and use the commands shown with your downloaded filenames to set up SSH access.

How to generate an SSH key pair

Choose an algorithm, set the private key format and download the matching keys.

  1. Choose an algorithm Select Ed25519, ECDSA P-256, RSA 2048 or RSA 4096 according to the requirements of the system you will connect to.
  2. Set the private key options Choose OpenSSH or PEM (PKCS#8). Add an optional identifying comment and enter a passphrase if you want to encrypt the private key.
  3. Generate and save the keys Click Generate SSH key pair. Copy or download the public key for the service, and save the private key in a protected directory.

Usage tips

  • Use a comment such as user@laptop to identify the public key when you have several keys. The comment is visible wherever you upload the public key.
  • On Linux and macOS, use chmod 600 on a downloaded private key before using it with OpenSSH.
  • Use a unique passphrase you can recover. If you lose it, generate a new key pair and replace the old public key on each service.

Frequently asked questions

Add the complete public key line from the .pub file to the server account’s ~/.ssh/authorized_keys file. Use the private key locally with your SSH client.
Choose OpenSSH for ssh and ssh-keygen. Choose PEM (PKCS#8) when your application requires PKCS#8 and supports the selected key algorithm.
The passphrase encrypts the exported private key. Your SSH client may ask for it when loading the key. The public key can still be shared as plain text.
Update your browser or choose a supported RSA or ECDSA option. Check that the SSH server or service accepts that algorithm before generating the key.