From 074302da46e644f015bba0d33ef34ad6384538d4 Mon Sep 17 00:00:00 2001 From: ltz3317 <454629049@qq.com> Date: Sat, 26 Dec 2020 15:54:24 +0800 Subject: [PATCH] Update handler.py --- webssh/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webssh/handler.py b/webssh/handler.py index 9b65d1d..0470cf5 100644 --- a/webssh/handler.py +++ b/webssh/handler.py @@ -446,7 +446,7 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler): logging.info('Connecting to {}:{}'.format(*dst_addr)) try: - ssh.connect(*args, timeout=options.timeout) + ssh.connect(*args, timeout=options.timeout, auth_timeout=options.auth_timeout,) except socket.error: raise ValueError('Unable to connect to {}:{}'.format(*dst_addr)) except paramiko.BadAuthenticationType: