cat ~/.ssh/id_rsa.pub | ssh user@server 'cat >> .ssh/authorized_keys'