Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

SSH Key Generator — Ed25519 & RSA

Create an SSH key pair for GitHub, GitLab, servers or CI deploy keys — Ed25519 by default, in standard OpenSSH format, without installing anything.

Mis à jour le

🔒 Runs locally with your browser’s Web Crypto API — nothing you type is sent to a server.

Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

Comment utiliser : SSH Key Generator

  1. Keep Ed25519 (or choose RSA 4096 for older servers).
  2. Set a comment, usually you@machine.
  3. Click Generate key pair.
  4. Save the private key as ~/.ssh/id_ed25519 and add the public key to GitHub or authorized_keys.

Installing the keys

# save the private key and lock it down
mv ~/Downloads/id_ed25519 ~/.ssh/
chmod 600 ~/.ssh/id_ed25519

# optional: add a passphrase
ssh-keygen -p -f ~/.ssh/id_ed25519

# on the server (or paste into GitHub → Settings → SSH keys)
cat id_ed25519.pub >> ~/.ssh/authorized_keys

OpenSSH refuses private keys that other users can read, so chmod 600 is required. The ~/.ssh folder itself should be 700.

Ed25519, RSA or ECDSA?

TypePublic key lengthNotes
Ed25519~80 charactersRecommended by GitHub and OpenSSH; fast and secure
RSA 4096~720 charactersWorks with very old servers and some hardware devices
ECDSA P-256~140 charactersSupported widely; Ed25519 is usually preferred

The fingerprint

The SHA256:… fingerprint shown above is what GitHub, GitLab and ssh-keygen -lf display for the key, so you can confirm you uploaded the right one. When connecting to a server for the first time, compare its host key fingerprint the same way.

Security notes

Keys are generated with the Web Crypto API and the OS random generator, and are never transmitted. The private key is unencrypted; add a passphrase with ssh-keygen -p and load it into ssh-agent for convenience. For production servers, generating keys locally with ssh-keygen -t ed25519 is equally easy if you prefer not to use a browser.

Need PEM or JWK formats for signing? Use the RSA key generator.

Aussi recherché comme : ssh-keygen online, generate ssh key, ed25519 key generator, ssh key pair, github ssh key, deploy key generator, id_rsa generator.

Outils complémentaires : SSH Key Generator

  • Calculateur chmod — Cochez les cases « Lecture », « Écriture » et « Exécution » pour le propriétaire, le groupe et les autres — ou saisissez 755, rwxr-xr-x ou u=rwx,g=rx,o=rx.
  • Générateur de commandes Git — Choisissez une tâche telle que « annuler le dernier commit tout en conservant mes modifications » ou « renommer une branche sur GitHub », indiquez les noms de vos branches et obtenez les commandes Git exactes — chaque ligne est expliquée et les étapes à risque sont signalées.
  • Htpasswd Generator — Generate user:hash lines for HTTP Basic Authentication in Apache, Nginx, Traefik and Caddy — with bcrypt by default and nothing sent to a server.
  • SSL Certificate Decoder — Paste a PEM certificate or a full chain to see who it was issued to, which domains it covers, when it expires and how it is signed — like openssl x509 -text, but readable.

Questions fréquentes

Is it safe to generate SSH keys in a browser?
The keys are created by the Web Crypto API on your device and never sent anywhere. Still, for very sensitive servers you may prefer ssh-keygen on the machine itself.
Why does SSH say “unprotected private key file”?
The file permissions are too open. Run chmod 600 ~/.ssh/id_ed25519.
Does GitHub accept Ed25519 keys?
Yes — GitHub recommends Ed25519. Paste the public key line under Settings → SSH and GPG keys.
Ed25519 is not available in my browser — why?
Older browsers do not support Ed25519 in Web Crypto. Update the browser, or choose RSA 4096 or ECDSA.
Puis-je installer SSH Key Generator en tant qu’application web et l’utiliser hors ligne ?
Oui. SSH Key Generator est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

Outils similaires