Copy ssh key to another machine mac
ssh-copy-id user@host
cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys'