Skip to main content
Common Reference

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:

  1. On one host, create the .ssh/authorized_keys file.

  2. Add the public key from every host to this file.

    shell> cat .ssh/id_rsa.pub

    Copy the output and paste as a new line into the .ssh/authorized_keys file. Repeat this for every host so that file that contains all of the public keys for all hosts in the entire deployment.

  3. Copy this file to the .ssh directory on every host

  4. Ensure that the file permissions on the .ssh directory are correct:

    shell> chmod 700 ~/.ssh
    shell> 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.