add private key to ssh linux code example Example: setting up the ssh keys scp $HOME/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys