CompTIA Linux+ XK0-006 (V8) Practice Question

During a build process on a CI runner, Git operations that rely on public-key authentication fail with the message:

sign_and_send_pubkey: signing failed: agent refused operation

The runner container already launches ssh-agent and loads the correct private key, but the build step runs inside a non-interactive script that does not inherit the agent's environment. Which single environment variable must the script export so that ssh, scp, and git can locate and communicate with the running ssh-agent?

  • SSH_AUTH_SOCK

  • SSH_ASKPASS

  • SSH_AGENT_PID

  • SSH_CONNECTION

CompTIA Linux+ XK0-006 (V8)
Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot