Мой антисклерозный блог =)
localhost$ ssh-keygen -t rsa
localhost$ scp ~/.ssh/id_rsa.pub remote.server.com:.ssh/authorized_keys2