fix issue

pull/410/head
vapao 2021-10-11 16:53:33 +08:00
parent dacea84f01
commit cdf5922d36
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class SSH:
'password': password, 'password': password,
'pkey': RSAKey.from_private_key(StringIO(pkey)) if isinstance(pkey, str) else pkey, 'pkey': RSAKey.from_private_key(StringIO(pkey)) if isinstance(pkey, str) else pkey,
'timeout': connect_timeout, 'timeout': connect_timeout,
'banner_timeout': 30
} }
@staticmethod @staticmethod