Using SSH to access gateway nodes
You can use SSH to connect to CDP One gateway nodes. This enables you to access the command line utilities of the analytic components in your CDP cluster and perform client tasks, such as querying Hive or Impala remotely from the command line. You use the Secure Shell (SSH) protocol to connect to a node from a terminal utility. Using SSH, you log into the node using a key pair for authentication instead of a user name and password.
- Log into CDP One.
In the Environment drop-down list, accept the default environment or select
- Click All Services.
Under Command Line in the UI, click SSH for
Copy the SSH command.
Open a terminal, and paste the command.
$ ssh email@example.com
At the password prompt, enter your workload password.
The connection to the gateway succeeds. The output looks something like this:
Last login: Mon Jun 27 21:12:10 2022 from 10.19.9.93 | | | | ___| | ___ _ _ __| | ___ _ __ __ _ / __| |/ _ \| | | |/ _` |/ _ \ '__/ _` | | (__| | (_) | |_| | (_| | __/ | | (_| | \___|_|\___/ \__,_|\__,_|\___|_| \__,_| =================================================