SSH Key Generator

Generate SSH key pairs online, with configuration commands and fingerprint info.

Key Parameters

Usage Guide

Key Storage & Permissions

!Save private key to ~/.ssh/id_ed25519 and public key to ~/.ssh/id_ed25519.pub. Set chmod 700 ~/.ssh, chmod 600 for private key, and chmod 644 for public key.

Deploy Public Key to Server

!Use ssh-copy-id -i ~/.ssh/id_ed25519.pub user@server for one-click setup, or manually append to ~/.ssh/authorized_keys and set chmod 600 permission.

Notes

All keys are generated locally in the browser and never uploaded to any server. Keep your private key safe and never transmit it over the network. It is recommended to set a passphrase for added security. Prefer Ed25519, or RSA 4096 as an alternative.

SSH Key Type Comparison

  • Ed25519:Recommended. Based on Curve25519 elliptic curve, secure and fast with shorter keys.
  • RSA:Traditional algorithm with best compatibility. Recommended 4096 bits or higher.
  • ECDSA:Based on NIST elliptic curve, shorter keys but with some controversy.

Security Tips

  • Prefer Ed25519, or RSA 4096 as an alternative
  • Set a passphrase for added security
  • Use ssh-agent to manage keys and avoid repeated password entry
  • Rotate keys regularly; don't use the same key forever
  • Never transmit private keys over the network