rsa generate key code example
Example 1: how to generate rsa key in linux
ssh-keygen -t rsa -b 4096
ssh-keygen -t dsa
ssh-keygen -t ecdsa -b 521
ssh-keygen -t ed25519
Example 2: create public key linux
ssh-keygen -t rsa -C "[email protected]"
Example 3: how to generate my RSA key pair
myLocalHost% ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key(/home/johndoe/.ssh/id_rsa):