Practical ssh-keygen examples for creating Ed25519 and RSA SSH keys, choosing a file name, adding a passphrase, checking fingerprints, and testing GitHub or server access.
ssh-keygen is the OpenSSH command-line utility for creating and managing SSH key pairs.
The recommended modern command is ssh-keygen -t ed25519 -C "you@example.com".
Use ssh-keygen -t rsa -b 4096 only for older systems that do not support Ed25519.