ssh-keygen -t dsa
mkdir .ssh
cat ~/.ssh/id_dsa.pub | ssh <user>@<remote_host> "cat >> ~/.ssh/authorized_keys"
(remotehost) .ssh 700 .ssh/authorized_keys 600 (localhost) .ssh 700 .ssh/id_dsa 600 .ssh/id_dsa.pub 644
Follow me on Twitter