Configure SSH Authentication

This section explains how to configure key-based SSH authentication for remote installation of Exasol 8 from a separate system (jump host) or from one of the remote hosts (database nodes).

Prerequisites

The remote hosts must be configured to allow access over SSH.

Procedure

Step 1: Generate an SSH key pair

  1. Open a terminal or command prompt on the host that will run the installation.

  2. Run the command ssh-keygen -t rsa to generate a new RSA key pair.

  3. Choose a location to save the key pair (the default location is normally ~/.ssh/id_rsa).

For added security you can provide a passphrase for the keypair.

Step 2: Copy the public key to the remote hosts

Replace user@remote-node-ip in the following examples with the actual username and host.

  1. Run ssh-copy-id user@remote-node-ip and provide the user and IP address of the remote host when prompted.

  2. Enter the password for the user on the remote host when prompted.

  3. Repeat this step for each host.

Validation

Test the key-based authentication

  1. Run the command ssh user@remote-node-ip to initiate an SSH connection to a remote host.

    If everything is correctly configured, you should be able to log in without entering a password.

  2. Repeat this step for each remote host to verify that all nodes can be accessed during installation.

Next Steps

Continue with installation as described in Install Exasol 8.