aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/207.out
diff options
context:
space:
mode:
authorPino Toscano <ptoscano@redhat.com>2019-06-20 22:08:40 +0200
committerMax Reitz <mreitz@redhat.com>2019-06-24 16:01:04 +0200
commitb10d49d7619e4957b4b971f816661b57e5061d71 (patch)
treebf8bf1c96bf8ffe72bcc4928b27e70654d25b6eb /tests/qemu-iotests/207.out
parent98eb9733f4cf2eeab6d12db7e758665d2fd5367b (diff)
downloadqemu-b10d49d7619e4957b4b971f816661b57e5061d71.zip
qemu-b10d49d7619e4957b4b971f816661b57e5061d71.tar.gz
qemu-b10d49d7619e4957b4b971f816661b57e5061d71.tar.bz2
ssh: switch from libssh2 to libssh
Rewrite the implementation of the ssh block driver to use libssh instead of libssh2. The libssh library has various advantages over libssh2: - easier API for authentication (for example for using ssh-agent) - easier API for known_hosts handling - supports newer types of keys in known_hosts Use APIs/features available in libssh 0.8 conditionally, to support older versions (which are not recommended though). Adjust the iotest 207 according to the different error message, and to find the default key type for localhost (to properly compare the fingerprint with). Contributed-by: Max Reitz <mreitz@redhat.com> Adjust the various Docker/Travis scripts to use libssh when available instead of libssh2. The mingw/mxe testing is dropped for now, as there are no packages for it. Signed-off-by: Pino Toscano <ptoscano@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20190620200840.17655-1-ptoscano@redhat.com Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 5873173.t2JhDm7DL7@lindworm.usersys.redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/207.out')
-rw-r--r--tests/qemu-iotests/207.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/207.out b/tests/qemu-iotests/207.out
index ec98237..1239d9d 100644
--- a/tests/qemu-iotests/207.out
+++ b/tests/qemu-iotests/207.out
@@ -68,7 +68,7 @@ virtual size: 4 MiB (4194304 bytes)
{"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"mode": "none"}, "path": "/this/is/not/an/existing/path", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 4194304}}}
{"return": {}}
-Job failed: failed to open remote file '/this/is/not/an/existing/path': Failed opening remote file (libssh2 error code: -31)
+Job failed: failed to open remote file '/this/is/not/an/existing/path': SFTP server: No such file (libssh error code: 1, sftp error code: 2)
{"execute": "job-dismiss", "arguments": {"id": "job0"}}
{"return": {}}