1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Removed "banner_timeout" parameter (not supported on old paramiko

versions, and not really needed)
This commit is contained in:
Adolfo Gómez García 2015-08-31 17:42:09 +02:00
parent f8e61d475a
commit 3dd2521408

View File

@ -117,7 +117,7 @@ class ForwardThread(threading.Thread):
verbose('Connecting to ssh host %s:%d ...' % (self.server, self.port))
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:
verbose('Exception connecting: {}'.format(e))
self.status = 2 # Error