copy ssh key to server Jun 17, 2020 • ulysses Here’s the command to copy a secret key to a remote server. ssh-copy-id user@servername This assumes you already generated a key.