Merge pull request #4049 from mscherer/fix_no_kerberos

Fix no kerberos
pull/4051/merge
James Cammarata 11 years ago
commit 2a47f72139

@ -88,7 +88,7 @@ class Connection(object):
"-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]

Loading…
Cancel
Save