Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from AcroMedia/3-fix-ssh-too-many-authenticatio…
Browse files Browse the repository at this point in the history
…n-failures

Only use the specified SSH key to connect
  • Loading branch information
couchgott authored Feb 26, 2021
2 parents 5a69aad + b03de5d commit 4579b37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ become = false
interpreter_python = auto

[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ServerAliveInterval=10
control_path = ~/.ssh/ansible-%%r@%%h:%%p
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ServerAliveInterval=10 -o IdentitiesOnly=yes
control_path = ~/.ssh/ansible-%%r@%%h:%%p

0 comments on commit 4579b37

Please sign in to comment.