From 6825dee437f169e8e5c47610cc04487825a23bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20B?= Date: Mon, 19 Jun 2017 13:51:34 +0000 Subject: [PATCH] Change ssh chan timeout. Close #20 --- pyFG/fortios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyFG/fortios.py b/pyFG/fortios.py index f5ea250..598767b 100644 --- a/pyFG/fortios.py +++ b/pyFG/fortios.py @@ -139,7 +139,7 @@ def execute_command(self, command): err_msg = 'Something happened when executing some commands on device' chan = self.ssh.get_transport().open_session() - chan.settimeout(5) + chan.settimeout(30) chan.exec_command(command)