added agent forwarding capabilities to Ansible SSH connection client to enable private key use
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user