ssh-keygen [-q] [-b bits] [-t dsa | ecdsa | ed25519 | rsa] [-N new_passphrase] [-C comment] [-f output_keyfile]
[...]
The type of key to be generated is specified with the -t option. If invoked without any arguments, ssh-keygen will generate
an RSA key.
[...]
-t dsa | ecdsa | ed25519 | rsa
Specifies the type of key to create. The possible values are âdsaâ, âecdsaâ, âed25519â, or ârsaâ
ed25519
格式:
$ head id_rsa
-----BEGIN OPENSSH PRIVATE KEY-----
[...]