Configuring SSH access

Set up key-based SSH access from the LCM host to every host as the privileged user, and confirm that no password prompt appears.

The LCM reaches every host over SSH as the privileged user.

  • A non-root user with passwordless sudo exists on every Cloudera Cloud Core host.
  • The public key of the LCM host is in the authorized_keys file of that user on every host.
  1. Place the private key on the LCM host, for example at <ssh-key-path>.
  2. Confirm that the key reaches a host without a password prompt.
    ssh -i <ssh-key-path> <ssh-user>@<ccc-host-address> sudo true
  3. Repeat the check for every host in the inventory.

Every command completes without a prompt. The LCM mounts the key directory into the container as read-only, so the container cannot modify it.