mirror of https://github.com/huashengdun/webssh
Update handler.py
parent
9033e06072
commit
074302da46
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue