Below is probably the quickest way to achieve this
1. Generate SSH key (if you don’t have one already)
ssh-keygen -t rsa
2. Use SSH to create a remote directory ~/.ssh
ssh firstname.lastname@example.org mkdir -p .ssh
3. Append your public key to .ssh/authorized_keys on remote host
cat ~/.ssh/id_rsa.pub | ssh email@example.com 'cat >> .ssh/authorized_keys'
It’s truly a great and useful piece of information. I’m satisfied that you simply shared this useful info with us. Please stay us up to date like this. Thank you for sharing.