What directory are you in when you started all this? you need your private key in ~/.ssh/ also are some of these steps on the remote server?
Quote:
$ssh-keygen -t rsa
$scp ./ssh/id_rsa.pub server2:/export/home/user1/.ssh
$cat id_rsa.pub > authorized_keys
|
You should have just done
scp ~/.ssh/id_rsa.pub server2:/export/home/user1/.ssh/authorized_keys