You are an administrator of a base Jenkins master with the recommended pluginset and you wantto 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 NOTbe able to see or access .
Which of the following is I Kill assuming your users do not have admin rights?
A . Use a credential "SSH Username with private key", restricted to the Scope "Agents", for the node’s SSH authentication.
B . Use a credential "SSH Username with private key", restricted to the Scope "System", for the node’s SSH authentication.
C . 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.
D . The SSH key will be stored in the )ENKINS_HOME/.ssh folder. Configure the agent to use a key from the "standard" SSH folder.
Answer: C
Leave a Reply