terminal view all ssh-copy-id code example Example: copy ssh key to remote server ssh-copy-id -i ~/.ssh/mykey.pub user@host