Add SSH Key to Authorized Keys


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

cat ~/.ssh/idrsa.pub | ssh root@example.com ‘cat - >> ~/.ssh/authorizedkeys’

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