DSA Keys, SSH, and You: The true story.

In your terminal

cd .ssh

ssh-keygen -t dsa

cat id_dsa.pub

Copy the output

ssh to your remote box

cd .ssh

vi authorized_keys

paste the contents of your id_dsa.pub file here. Save and exit

<esc> :wq

Exit your ssh connection

Now connect to the remote host again. You should be logged in automatically. :)