We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5ea39 commit 123b74bCopy full SHA for 123b74b
dpdispatcher/contexts/ssh_context.py
@@ -295,7 +295,7 @@ def exec_command(self, cmd):
295
assert self.ssh is not None
296
try:
297
return self.ssh.exec_command(cmd)
298
- except (paramiko.ssh_exception.SSHException, socket.timeout) as e:
+ except (paramiko.ssh_exception.SSHException, socket.timeout, EOFError) as e:
299
# SSH session not active
300
# retry for up to 3 times
301
# ensure alive
0 commit comments