Add ssh access to a server with a public key code example Example: add public key to server ssh-copy-id -i ~/.ssh/mykey.pub user@host