mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Merge pull request #952 from dagwieers/patch-1
Disable PasswordAuthentication when using -c ssh
This commit is contained in:
@@ -76,6 +76,6 @@ remote_port=22
|
|||||||
# will result in poor performance, so use transport=paramiko on older platforms rather than
|
# will result in poor performance, so use transport=paramiko on older platforms rather than
|
||||||
# removing it
|
# removing it
|
||||||
|
|
||||||
ssh_args=-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
|
ssh_args=-o PasswordAuthentication=no -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user