$ ssh-keygen -t dsa
$ scp ~/.ssh/id_dsa.pub foo@bar.local
$ ssh foo@bar.local remote$ mkdir .ssh remote$ chmod 700 .ssh/ remote$ cd .ssh/ remote$ touch authorized_keys remote$ chmod 600 authorized_keys remote$ cat ~/id_dsa.pub >>authorized_keys remote$ rm ~/id_dsa.pub remote$ logout
$ ssh foo@bar.local