Setting up ssh between 2 hosts at different sites

Step 1

The following creates a public identity.pub and a private identity on this host:
16cottrell@pharlap:~>ssh-keygen
Generating public/private rsa1 key pair.
Enter file in which to save the key (/u/sf/cottrell/.ssh/identity):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /u/sf/cottrell/.ssh/identity.
Your public key has been saved in /u/sf/cottrell/.ssh/identity.pub.
The key fingerprint is:
2b:e9:cf:fb:d3:26:b6:d7:1d:a0:c7:98:12:c3:0f:48 cottrell@pharlap

17cottrell@pharlap:~>ls ~cottrell/.ssh
authorized_keys@  identity.pub@     random_seed
identity          known_hosts@

Step 2

The identity.pub needs to be copied from this host and appended on to the .ssh/authorized_keys in the usershome directory on the remote host.
14cottrell@pharlap:~>scp .ssh/identity.pub sunstats.cern.ch:/tmp/identity.pub
cottrell@sunstats.cern.ch's password:
identity.pub         100% |********************************************|   335       00:00
Now ssh logon to the remote host, check the file /tmp/identity.log is there, and append the identity.pub onto the authorized_keys.
sunstats/cottrell[4] ssh sunstats.cern.ch
cottrell@sunstats.cern.ch's password:
...
sunstats/cottrell[5] ls /tmp/identity.pub
/tmp/identity.pub
sunstats/cottrell[6] cat /tmp/identity.pub >> .ssh/authorized_keys
sunstats/cottrell[7] logout
You should now be able to ssh from your local host to the remote host without requiring to enter a password, e.g.
18cottrell@pharlap:~>ssh sunstats.cern.ch uname -a
SunOS sunstats 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-60