ssh-keygen -t rsa -b 4096

Category: Security & Hardening

ssh-keygen -t rsa -b 4096

Generate a 4096-bit RSA keypair

Creates an RSA key with a 4096-bit modulus, still needed to talk to older servers and appliances that lack Ed25519 support. A 2048-bit modulus is the absolute minimum today. Prefer ssh-keygen -t ed25519 on systems that accept it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.