mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #952 from dagwieers/patch-1
Disable PasswordAuthentication when using -c ssh
This commit is contained in:
commit
b65a2dbd4d
1 changed files with 1 additions and 1 deletions
|
@ -76,6 +76,6 @@ remote_port=22
|
|||
# will result in poor performance, so use transport=paramiko on older platforms rather than
|
||||
# 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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue