summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2022-10-17 07:31:45 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-27 16:54:43 +0100
commit43a224f247498e94c68abb99c6936c9da88a6ea1 (patch)
treee8a368bef407c39bb3acf17208f02cf11a581d94 /meta/lib
parent8ce85b6c6c00616ba52e4616c707670643255b10 (diff)
downloadpoky-43a224f247498e94c68abb99c6936c9da88a6ea1.tar.gz
devtool: add HostKeyAlgorithms option to ssh and scp commands
With the newer version of ssh in Ubuntu 22.04 we are getting errors of this type: Unable to negotiate with 192.168.7.2 port 22: no matching host key type found. Their offer: ssh-rsa Add -o HostKeyAlgorithms=+ssh-rsa to command invocation as suggested at: http://www.openssh.com/legacy.html (From OE-Core rev: 9275d23c782071382c201bca2d647f6426a64e2f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index 87e71632ab..5febdde28e 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -1323,7 +1323,7 @@ class DevtoolExtractTests(DevtoolBase):
1323 # Now really test deploy-target 1323 # Now really test deploy-target
1324 result = runCmd('devtool deploy-target -c %s root@%s' % (testrecipe, qemu.ip)) 1324 result = runCmd('devtool deploy-target -c %s root@%s' % (testrecipe, qemu.ip))
1325 # Run a test command to see if it was installed properly 1325 # Run a test command to see if it was installed properly
1326 sshargs = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' 1326 sshargs = '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o HostKeyAlgorithms=+ssh-rsa'
1327 result = runCmd('ssh %s root@%s %s' % (sshargs, qemu.ip, testcommand)) 1327 result = runCmd('ssh %s root@%s %s' % (sshargs, qemu.ip, testcommand))
1328 # Check if it deployed all of the files with the right ownership/perms 1328 # Check if it deployed all of the files with the right ownership/perms
1329 # First look on the host - need to do this under pseudo to get the correct ownership/perms 1329 # First look on the host - need to do this under pseudo to get the correct ownership/perms