mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-18 06:03:54 +03:00
Removed "banner_timeout" parameter (not supported on old paramiko
versions, and not really needed)
This commit is contained in:
parent
f8e61d475a
commit
3dd2521408
@ -117,7 +117,7 @@ class ForwardThread(threading.Thread):
|
|||||||
verbose('Connecting to ssh host %s:%d ...' % (self.server, self.port))
|
verbose('Connecting to ssh host %s:%d ...' % (self.server, self.port))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.client.connect(self.server, self.port, username=self.username, password=self.password, timeout=5, banner_timeout=10)
|
self.client.connect(self.server, self.port, username=self.username, password=self.password, timeout=5)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
verbose('Exception connecting: {}'.format(e))
|
verbose('Exception connecting: {}'.format(e))
|
||||||
self.status = 2 # Error
|
self.status = 2 # Error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user