Create your own RSA keys on the client :
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/philippe/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/philippe/.ssh/id_rsa.
Your public key has been saved in /Users/philippe/.ssh/id_rsa.pub.
The key fingerprint is: (snip)
Copy the new public key in your server:
$ scp .ssh/id_rsa.pub philippe@server.tld:/
Password:
id_rsa.pub 100% 430 0.4KB/s 00:00
$ ssh philippe@server.tld
Password:
Last login: Thu Sep 4 22:52:06 2008 from xxxxxxxxxxxxxxxx
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD STABLE (f5iyj) #0: Tue Mar 20 16:05:42 CET 2007
server$ cat id_rsa.pub >> .ssh/authorized_keys2
server$ exit
Then connect without password:
$ ssh philippe@server.tld
Last login: Thu Sep 4 23:10:23 2008 from xxxxxxxxxxxxxxxx
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD STABLE (f5iyj) #0: Tue Mar 20 16:05:42 CET 2007
So simple!