Skip to content

Commit

Permalink
Change ssh chan timeout. Close spotify#20
Browse files Browse the repository at this point in the history
  • Loading branch information
tux-00 committed Jun 19, 2017
1 parent 93ea002 commit 6825dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyFG/fortios.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6825dee

Please sign in to comment.