From 17c39b94a38b7894d1ac0c96049493a52bc91079 Mon Sep 17 00:00:00 2001 From: Keiichi Mori Date: Fri, 6 Sep 2013 12:23:26 +0900 Subject: [PATCH] support GSSAPIAuth back GSSAPIAuthentication has not been supported due to PreferredAuthentications trick ( 2bdba17a85 ) --- lib/ansible/runner/connection_plugins/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/connection_plugins/ssh.py b/lib/ansible/runner/connection_plugins/ssh.py index 5ba0747676..4eea47daf0 100644 --- a/lib/ansible/runner/connection_plugins/ssh.py +++ b/lib/ansible/runner/connection_plugins/ssh.py @@ -85,7 +85,7 @@ class Connection(object): "-o", "PubkeyAuthentication=no"] else: self.common_args += ["-o", "KbdInteractiveAuthentication=no", - "-o", "PreferredAuthentications=hostbased,publickey", + "-o", "PreferredAuthentications=gssapi-with-mic,hostbased,publickey", "-o", "PasswordAuthentication=no"] if self.user != pwd.getpwuid(os.geteuid())[0]: self.common_args += ["-o", "User="+self.user]