ssh-keygen
ssh-keygen -t ed25519
ssh-keygen -b 4096
ssh-keygen -C "johndoe@example.com"
ssh-keygen -f ~/.ssh/my_ssh_key
ssh-keygen -N "password"
ssh-keygen -E sha256
ssh-keygen -a
ssh-keygen -q
Note: The parameters can be used in combination. For example, ssh-keygen -t ed25519 -b 4096 -C "johndoe@example.com"
generates a key pair of type ed25519, with a length of 4096, and a comment of "johndoe@example.com".