Copy ssh public key to server

How to securely copy your SSH key to the server

Assuming your key is called id_rsa, and ignoring the file extension:
ssh-copy-id -i ~/.ssh/id_rsa user@host