From ac1eb31926e6905bf1c538fada8b4cae49c4c68c Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Wed, 10 Jun 2026 13:49:49 -0400 Subject: [PATCH] added agent forwarding capabilities to Ansible SSH connection client to enable private key use --- ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.cfg b/ansible.cfg index fe38578..f08c96e 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -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. ;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]