Secure Shell (SSH)
The two types of SSH authentication are username and password, using negotiated encryption, and private key files, using asymmetric encryption.
To install the Puppet agent on nodes, your SSH credentials must be for the root account.
To discover containers on nodes, your SSH credentials must be for the root account or an account that is a member of the Docker group.
Add SSH private key files
Upload an SSH private key file to discover resources, and to run tasks on your Linux hosts.
Add SSH username and password
Add an SSH username and password to discover resources, and to run tasks on your Linux hosts.
- On the sidebar, click Manage credentials.
- Click SSH credential.
- In the Name field, enter a unique and descriptive name.
-
Assign an individual scope, or both, to the credential:
- Discover resources on nodes: This credential scope is valid only for discovering resources on your Linux nodes.
-
Remediate vulnerabilities: This credential is valid only for running tasks on your Linux nodes. When this individual scope is selected, no attempts are made to discover resources.
Escalate privileges to root: When required to run tasks on nodes, sudo escalate
non-root
account privileges toroot
. Privilege escalation occurs if the first attempt to run a task fails when usingnon-root
privileges
- In the Username field, enter your SSH username.
- In the Password field, enter your SSH password, and then click Add credential.