where to put public key on server to ssh code example Example: add public key to server ssh-copy-id -i ~/.ssh/mykey.pub user@host