1
0
Fork 0
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:
Michael DeHaan 2012-08-28 17:25:35 -07:00
commit b65a2dbd4d

View file

@ -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