diff options
-rw-r--r-- | paramiko/client.py | 2 | ||||
-rw-r--r-- | tests/test_kex_gss.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index 05686d97..393e3e09 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -250,7 +250,7 @@ class SSHClient (ClosingContextManager): pass retry_on_signal(lambda: sock.connect(addr)) - t = self._transport = Transport(sock, gss_kex, gss_deleg_creds) + t = self._transport = Transport(sock, gss_kex=gss_kex, gss_deleg_creds=gss_deleg_creds) t.use_compression(compress=compress) if gss_kex and gss_host is None: t.set_gss_host(hostname) diff --git a/tests/test_kex_gss.py b/tests/test_kex_gss.py index b5e277b3..8769d09c 100644 --- a/tests/test_kex_gss.py +++ b/tests/test_kex_gss.py @@ -84,7 +84,7 @@ class GSSKexTest(unittest.TestCase): def _run(self): self.socks, addr = self.sockl.accept() - self.ts = paramiko.Transport(self.socks, True) + self.ts = paramiko.Transport(self.socks, gss_kex=True) host_key = paramiko.RSAKey.from_private_key_file('tests/test_rsa.key') self.ts.add_server_key(host_key) self.ts.set_gss_host(targ_name) |