


-e “Export” This option allows reformatting of existing keys between the OpenSSH key file format and the format documented in RFC 4716, “SSH Public Key File Format”.In general, 2048 bits is considered to be sufficient for RSA keys. The regulations that govern the use case for SSH may require a specific key length to be used. -b “Bits” This option specifies the number of bits in the key.Here’s a summary of commonly used options to the ssh keygen tool: For example, if the file name of the SSH private key is id_ecdsa, the file name of the public key would be id_ecdsa.pub. The file name of the public key is created automatically by appending. The command generates an SSH key pair consisting of a public key and a private key, and saves them in the specified path.

When prompted, enter the passphrase again to confirm it.
