Add SSH Key to Authorized Keys


This great trick pushes your public key to the server in one step

cat ~/.ssh/id_rsa.pub | ssh root@example.com 'cat - >> ~/.ssh/authorized_keys'

*Note: You will need to enter the password the first time.