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