Adding SSH credentials

About this task

Add SSH credentials to connect to target machines being managed by Lifecycle Manager (LCM).

The Login User and SSH Login options allow LCM to remotely log in to a machine over SSH using a password or private key. LCM requires superuser privileges to install software and manage configurations on a target machine. The Escalate Privileges options allow specifying SU or SUDO mechanisms to elevate privileges if necessary after the remote login.

All passwords and private keys are encrypted and safely stored by Lifecycle Manager.

Procedure

  1. Click SSH Credentials > Add Credential.

    The Add Credential dialog displays.

    Add SSH credentials to use for connecting to the target machines being managed by LCM

  2. Enter a unique Name for the credential.

  3. Enter the name of the Login User.

  4. Select an SSH Login type:

    • Password: (Default) Enter the Login Password associated with the Login User. Enter the password again for confirmation.

    • Private Key: Paste the private key into the SSH Private Key field. If applicable, enter the SSH Unlock Passphrase.

  5. Optional: Enter a Comment that describes the credential. Example: Superuser access to all nodes or Private Key access.

  6. For Escalate Privileges, select an option to enter any necessary secondary credentials.

    • SU: Enter the username in the SU to this user field, which is optional to switch to another user account (typically the default is root). Enter the SU password and then confirm the password.

    • SUDO: (Default) Enter the username of the Login User in the SUDO to this user field, and the associated password in the SUDO password field.

    • None: The login user is root, or otherwise has all privileges required to run LCM jobs, including the ability to install packages and start services. No additional SUDO or SU privileges are required beyond the SSH password or private key.

  7. Click Save.

    The newly defined SSH credential is listed on the SSH Credentials page along with edit and delete options.

What’s next

Add a configuration profile that defines the configuration for DSE clusters.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com