Copy SSH Key to Server Jun 17, 2020 • Ulysses Here’s the command to copy a secret key to a remote server. <pre lang="bash"> ssh-copy-id user@servername This assumes you already generated a key.