how to generate ssh rsa key code example
Example 1: how to generate ssh key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: 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):