ssh-copy id ssh code example Example: ssh-keygen and ssh-copy-id ssh-copy-id -i ~/.ssh/mykey user@host