diff options
Diffstat (limited to 'meta/lib/oeqa/core/target/ssh.py')
-rw-r--r-- | meta/lib/oeqa/core/target/ssh.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/core/target/ssh.py b/meta/lib/oeqa/core/target/ssh.py index aefb576805..832b6216f6 100644 --- a/meta/lib/oeqa/core/target/ssh.py +++ b/meta/lib/oeqa/core/target/ssh.py | |||
@@ -34,6 +34,7 @@ class OESSHTarget(OETarget): | |||
34 | self.timeout = timeout | 34 | self.timeout = timeout |
35 | self.user = user | 35 | self.user = user |
36 | ssh_options = [ | 36 | ssh_options = [ |
37 | '-o', 'HostKeyAlgorithms=+ssh-rsa', | ||
37 | '-o', 'UserKnownHostsFile=/dev/null', | 38 | '-o', 'UserKnownHostsFile=/dev/null', |
38 | '-o', 'StrictHostKeyChecking=no', | 39 | '-o', 'StrictHostKeyChecking=no', |
39 | '-o', 'LogLevel=ERROR' | 40 | '-o', 'LogLevel=ERROR' |
@@ -225,6 +226,9 @@ def SSHCall(command, logger, timeout=None, **opts): | |||
225 | endtime = time.time() + timeout | 226 | endtime = time.time() + timeout |
226 | except InterruptedError: | 227 | except InterruptedError: |
227 | continue | 228 | continue |
229 | except BlockingIOError: | ||
230 | logger.debug('BlockingIOError') | ||
231 | continue | ||
228 | 232 | ||
229 | # process hasn't returned yet | 233 | # process hasn't returned yet |
230 | if not eof: | 234 | if not eof: |