Add SSH keys to authorized_keys file
Reference: https://askubuntu.com/questions/46424/how-do-i-add-ssh-keys-to-authorized-keys-file
An alternative way to install your public key in the remote machine's authorized_keys
:
cat ~/.ssh/id_rsa.pub | ssh USER@HOST "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"