setup server with ssh keys code example Example: setting up the ssh keys scp $HOME/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys