ffdc: Add banner_timeout parm to paramiko sshclient connect.
Add banner_timeout parm to paramiko sshclient connect request to handle
delays from some remote host ssh daemon.
Test:
- Regression tested to remote hosts with ssh daemon.
Signed-off-by: Peter D Phan <peterp@us.ibm.com>
Change-Id: I39e1014afbd150b9734075d0a8d2a910775fd444
diff --git a/ffdc/lib/ssh_utility.py b/ffdc/lib/ssh_utility.py
index 1ca1b05..32fef63b 100644
--- a/ffdc/lib/ssh_utility.py
+++ b/ffdc/lib/ssh_utility.py
@@ -53,6 +53,8 @@
self.sshclient.connect(hostname=self.hostname,
username=self.username,
password=self.password,
+ banner_timeout=120,
+ timeout=60,
look_for_keys=False)
except (BadHostKeyException, AuthenticationException,