Configure SSH Authentication
This section describes 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
-
Open a terminal or command prompt on the host that will run the installation.
-
Run the command
ssh-keygen -t rsa
to generate a new RSA key pair. -
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.
-
Run
ssh-copy-id user@remote-node-ip
and provide the user and IP address of the remote host when prompted. -
Enter the password for the user on the remote host when prompted.
-
Repeat this step for each host.
Validation
Test the key-based authentication
-
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.
-
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.