2 examples for ssh-copy-id

{{ score }}
  # Copy local ssh key to authorized_keys file on remote machine.
ssh-copy-id user@example.com
        
{{ score }}
  # upload the key file ~/.ssh/id_rsa via ssh on port 80 to server
ssh-copy-id -i ~/.ssh/id_rsa example.com