summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tempest_lib/common/ssh.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tempest_lib/common/ssh.py b/tempest_lib/common/ssh.py
index 1911f9e..1dab6c9 100644
--- a/tempest_lib/common/ssh.py
+++ b/tempest_lib/common/ssh.py
@@ -76,7 +76,8 @@ class Client(object):
LOG.info("ssh connection to %s@%s successfuly created",
self.username, self.host)
return ssh
- except (socket.error,
+ except (EOFError,
+ socket.error,
paramiko.SSHException) as e:
if self._is_timed_out(_start_time):
LOG.exception("Failed to establish authenticated ssh"