Back to search
ssh-keygen
command networkGenerate SSH key pair
Required Packages
sudo apt install -y openssh-client Options
Only for RSA/ECDSA (Ed25519 has fixed size)
Key file path (default: ~/.ssh/id_<type>)
Usually email address
For automation only — not recommended for interactive use
Generated Command
ssh-keygen -t ed25519