support GSSAPIAuth back
GSSAPIAuthentication has not been supported
due to PreferredAuthentications trick ( 2bdba17a85
)
This commit is contained in:
parent
ff203dda45
commit
17c39b94a3
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue