Accessing a Data Lake cluster via SSH
If you plan to access a Data Lake (for example for troubleshooting purposes) via a command line client, SSH into the master node.
Non-root SSH access to a Data Lake node
Required role: EnvironmentUser, Data Steward, or EnvironmentAdmin
A user who has the required Cloudera role assigned to them can SSH to Data Lake cluster nodes using their own Cloudera user.
To execute privileged operating system actions on a Cloudera Data Hub, the EnvironmentPrivilegedUser role is required.
For SSH access through a workload user name and password:
When accessing Cloudera for the first time, you must set a workload password. The password also needs to be reset each time you are added to a new environment.
For more information about workload passwords and instructions for setting/resetting it, refer to Set or Reset Workload Password.
For instructions on how to find your workload user name, refer to Finding Your Workload User Name.
On Mac OS, you can use the following syntax to SSH to the VM:
$ ssh <workloaduser>@<nodeIPaddress>
For example:
$ ssh jsmith@190.101.0.132
To SSH to a cluster using the private key file that pairs with the public key associated
with a user, use the ssh
utility:
$ ssh -i <path-to-private-key-file> <cdpusername>@<nodeIPaddress>
For example:
$ ssh -i ~/.ssh/my-private-key jsmith@192.12.141.12
On Windows, you can access your cluster via SSH by using an SSH client such as PuTTY. For more information, refer to How to use PuTTY on Windows.
Root SSH access to a Data Lake node
Required role: No Cloudera role is required
Cloudera administrators can access Data Lake cluster nodes
as cloudbreak
user with the SSH key provided during cluster creation.
On Mac OS, you can use the following syntax to SSH to the VM:
ssh -i <path-to-cloudbreak-private-key-file> cloudbreak@<nodeIPaddress>
For example:
ssh -i ~/.ssh/cloudbreak-private-key cloudbreak@90.101.0.132
On Windows, you can access your cluster via SSH by using an SSH client such as PuTTY. For more information, refer to How to use PuTTY on Windows.