ssh-keygen do?generate, manage and convert SSH authentication keys.
▸ Explain your own ssh-keygen command →$ ssh-keygen -t ed25519 -C you@example.com
$ ssh-keygen -R oldhost
$ ssh-keygen -y -f id_rsa
| -t | type of key to create (ed25519, rsa, ecdsa) |
| -b | number of bits in the key |
| -C | comment to attach to the key (often your email) |
| -f | key file to write to or read from |
| -N | new passphrase for the key ('' means no passphrase) |
| -p | change the passphrase of an existing private key |
| -y | read a private key and print its public key |
| -l | show the fingerprint of a key file |
| -R | remove all keys for the given hostname from known_hosts |
| -F | search known_hosts for the given hostname |
| -q | quiet — suppress the usual output |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.