mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Also add back gssapi-keyex
While this is not currently implemented in openssh as far as I know, there is patch floating around on the web and this may land one day upstream.
This commit is contained in:
parent
17c39b94a3
commit
f489702973
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class Connection(object):
|
||||||
"-o", "PubkeyAuthentication=no"]
|
"-o", "PubkeyAuthentication=no"]
|
||||||
else:
|
else:
|
||||||
self.common_args += ["-o", "KbdInteractiveAuthentication=no",
|
self.common_args += ["-o", "KbdInteractiveAuthentication=no",
|
||||||
"-o", "PreferredAuthentications=gssapi-with-mic,hostbased,publickey",
|
"-o", "PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey",
|
||||||
"-o", "PasswordAuthentication=no"]
|
"-o", "PasswordAuthentication=no"]
|
||||||
if self.user != pwd.getpwuid(os.geteuid())[0]:
|
if self.user != pwd.getpwuid(os.geteuid())[0]:
|
||||||
self.common_args += ["-o", "User="+self.user]
|
self.common_args += ["-o", "User="+self.user]
|
||||||
|
|
Loading…
Reference in a new issue