Setting up ssh between 2 hosts at different sites

Step 1

The following creates a public and a private identity on this host:
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/
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@     random_seed
identity          known_hosts@

Step 2

The 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/'s password:         100% |********************************************|   335       00:00
Now ssh logon to the remote host, check the file /tmp/identity.log is there, and append the onto the authorized_keys.
sunstats/cottrell[4] ssh's password:
sunstats/cottrell[5] ls /tmp/
sunstats/cottrell[6] cat /tmp/ >> .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 uname -a
SunOS sunstats 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-60