Skip to content

Commit

Permalink
Merge pull request #4049 from mscherer/fix_no_kerberos
Browse files Browse the repository at this point in the history
Fix no kerberos
  • Loading branch information
jimi-c committed Sep 6, 2013
2 parents aa0a31c + f489702 commit 2a47f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/runner/connection_plugins/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def connect(self):
"-o", "PubkeyAuthentication=no"]
else:
self.common_args += ["-o", "KbdInteractiveAuthentication=no",
"-o", "PreferredAuthentications=hostbased,publickey",
"-o", "PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey",
"-o", "PasswordAuthentication=no"]
if self.user != pwd.getpwuid(os.geteuid())[0]:
self.common_args += ["-o", "User="+self.user]
Expand Down

0 comments on commit 2a47f72

Please sign in to comment.