Which of the following is TRUE assuming your users do not have admin rights?

Posted by: Pdfprep Category: CJE Tags: , ,

Yon are an administrator of a base Jenkins master with the recommended plugin set and you want to connect a new agent using SSH. Authentication on the remote node that will host the agent is done with an SSH key pair which your users must NOT be able to see or access.

Which of the following is TRUE assuming your users do not have admin rights?
A . Use a credential "SSH Username with private key", restricted to the Scope "System", for the node’s SSH authentication.
B . You cannot use an SSH key-pair. Configure a password for the agent’s SSH user, and create a credential of type "Username with password" for the node’s SSH authentication.
C . Use a credential "SSH Username with private key", restricted to the Scope "Agents", for the node’s SSH authentication.
D . The SSH key will be stored in the JENKINS_HOME/.ssh folder. Configure the agent to use a key from the "standard" SSH folder.

Answer: A

Leave a Reply

Your email address will not be published.