Setting up SSH public key authentication

Tired of typing a password every time you login to your server? You’d be needing some SSH keys then. DSA ones are the best for this apparently, so on your local machine:

[bash]ssh-keygen -t dsa
cat ~/.ssh/id_dsa.pub[/bash]

copy the key you’ve just made to the clipboard, and on your remote machine paste it into the file ~/.ssh/authorized_keys

Simple as that. No more typing that password every time.