From cdf5922d36b0d4da0b7ee0f5959325e3569cb58e Mon Sep 17 00:00:00 2001 From: vapao Date: Mon, 11 Oct 2021 16:53:33 +0800 Subject: [PATCH] fix issue --- spug_api/libs/ssh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spug_api/libs/ssh.py b/spug_api/libs/ssh.py index 13a8920..d1ad6d1 100644 --- a/spug_api/libs/ssh.py +++ b/spug_api/libs/ssh.py @@ -27,6 +27,7 @@ class SSH: 'password': password, 'pkey': RSAKey.from_private_key(StringIO(pkey)) if isinstance(pkey, str) else pkey, 'timeout': connect_timeout, + 'banner_timeout': 30 } @staticmethod