I'm playing with Pino's patch that adds libssh block driver support to qemu, and it all works completely fine against a normal Linux server.
https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg02843.html However against VMware's ESXi hypervisor it fails in a peculiar way. libssh2 *works* against this hypervisor, so I don't think it's anything as simple as the server not supporting sftp. We have a long debugging log: http://oirase.annexia.org/tmp/log (see in particular "read failed: (sftp error code: 0)" in the log) But it looks to me like the information being collected there is probably not sufficient to debug this, and it's not nice to ask you to test against a proprietary product. Is there more/better/different debugging that we could collect to help diagnose what is going on? Also, I'm using libssh-0.7.5-1.fc26.x86_64. Would using a newer or different libssh help? There is only one change upstream which seems related to sftp support (f525fdb2e189) and that doesn't seem relevant here. AIUI ESXi runs a cut-down Linux distro, and has an OpenSSH 5.6 server (albeit one which may be modified and/or broken in some manner). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
