[libvirt] [PATCH v2 0/2] New libssh transport

Pino Toscano ptoscano at redhat.com
Mon Oct 17 14:24:51 UTC 2016


Hi,

this series introduces a new libssh transport in libvirt, based on the
libssh C library.  This library supports what libssh2 does, and more:
- easier API for known_hosts handling (there's a ticket upstream to
  request extensions for it, but what is implemented now works well)
- potential GSSAPI authentication (not enabled yet because of a libssh
  bug [1])
- easier API for ssh-agent support

The implementation for the new transport is based on the libssh2 one,
hence it shares origin and style.

[1] https://red.libssh.org/issues/242

Thanks,

Changes from v1 to v2:
- implemented keyboard interactive
- code polish, and fixes


Pino Toscano (2):
  virNetSocket: allow to not close FD
  libssh_transport: add new libssh-based transport

 config-post.h                 |    2 +
 configure.ac                  |    3 +
 include/libvirt/virterror.h   |    2 +
 m4/virt-libssh.m4             |   26 +
 src/Makefile.am               |   21 +-
 src/libvirt_libssh.syms       |   22 +
 src/remote/remote_driver.c    |   41 ++
 src/rpc/virnetclient.c        |  123 ++++
 src/rpc/virnetclient.h        |   13 +
 src/rpc/virnetlibsshsession.c | 1424 +++++++++++++++++++++++++++++++++++++++++
 src/rpc/virnetlibsshsession.h |   80 +++
 src/rpc/virnetsocket.c        |  184 +++++-
 src/rpc/virnetsocket.h        |   13 +
 src/util/virerror.c           |    9 +-
 14 files changed, 1959 insertions(+), 4 deletions(-)
 create mode 100644 m4/virt-libssh.m4
 create mode 100644 src/libvirt_libssh.syms
 create mode 100644 src/rpc/virnetlibsshsession.c
 create mode 100644 src/rpc/virnetlibsshsession.h

-- 
2.7.4




More information about the libvir-list mailing list