ssh add ssh key code example
Example 1: ssh generate key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: setting up the ssh keys
scp $HOME/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
scp $HOME/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys