I will be using Ubuntu 10.04 Server Edition for this example. This will let you do ssh tasks on a remote machine without it asking for a password every single time. This is very helpful, especially for an automated cron job. Let's begin.
There are only two steps in this process. First, generate the ssh key on a local machine. Second, copy that key to any other remote machines that you will be accessing without a password.
First command that you need to run is ssh-keygen
For a simple test, you can just hit the Enter key for every question.