ssh-copy-id is made for exactly this:
ssh-copy-id - install your public key in a remote machine’s authorized_keys ssh-copy-id - install your public key in a remote machine’s authorized_keys