

You can generate the normal RSA key with the following command. RSA is an old algorithm which factors large numbers and it supports key sizes of 20 bits.


-t – “Type” for specifying the type of the key.The tool or command used to create SSH Key is ssh-keygen, the command allows you to pass several options. You can choose the algorithm and key size you want while generating the SSH Key between RSA, DSA, ECDSA and ed25519. The private key should be on your machine and you can add the public key to any server you want to authenticate with. The process of generating SSH Key will give you two strings which are public and private key. SSH Key is a Secure Shell key with encryption algorithm which authenticate users to a network.
