[raw] cat ~/.ssh/id_rsa.pub | ssh root@example.com ‘cat – >> ~/.ssh/authorized_keys’ [/raw] Don’t forget you need local permissions set properly to use ssh keys. [raw] chmod 700 ~/.ssh && chmod 600 ~/.ssh/* [/raw]