added agent forwarding capabilities to Ansible SSH connection client to enable private key use

This commit is contained in:
2026-06-10 13:49:49 -04:00
parent 19929405ba
commit ac1eb31926

View File

@@ -508,7 +508,7 @@ pipelining=False
# (int) For keys inserted into an agent defined by ``SSH_AGENT``, define a lifetime, in seconds, that the key may remain in the agent. # (int) For keys inserted into an agent defined by ``SSH_AGENT``, define a lifetime, in seconds, that the key may remain in the agent.
;ssh_agent_key_lifetime= ;ssh_agent_key_lifetime=
ssh_args='-o ControlMaster=auto -o ControlPersist=300s -o PreferredAuthentications=publickey' ssh_args='-o ControlMaster=auto -o ControlPersist=300s -o PreferredAuthentications=publickey -o ForwardAgent=yes'
[colors] [colors]