SSH Configuration
For password-less SSH to work between the different hosts in the deployment, you need to copy both the public and private keys between the hosts. This will allow each host, to communicate directly with each other using the designated login.
To achieve this, on each host:
On one host, create the
.ssh/authorized_keysfile.Add the public key from every host to this file.
shell> cat .ssh/id_rsa.pubCopy the output and paste as a new line into the
.ssh/authorized_keysfile. Repeat this for every host so that file that contains all of the public keys for all hosts in the entire deployment.Copy this file to the
.sshdirectory on every hostEnsure that the file permissions on the
.sshdirectory are correct:shell> chmod 700 ~/.sshshell> chmod 600 ~/.ssh/*
With each host configured, you should try to connect to each host to confirm that the SSH information has been correctly configured. You can do this
by connecting to the host using ssh:
tungsten:shell> ssh tungsten@host
You should have logged into the host at the tungsten home directory, and that directory should be writable by the tungsten user.