scp /path/ user@SERVER_IP_ADDRESS:/path/scp user@SERVER_IP_ADDRESS:/path/ /path/ssh-copy-id user@SERVER_IP_ADDRESSAfter providing your password at the prompt, your public key will be added to the remote user's .ssh/authorized_keys file.
The corresponding private key can now be used to log into the server.