ssh key gneration code example
Example 1: generate ssh key paitr
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: how to copy ssh key
ssh-copy-id -i ~/.ssh/mykey user@host
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
ssh-copy-id -i ~/.ssh/mykey user@host