[PATCH 0/2] RFC: New libssh transport

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

TODO:
- implement the keyboard-interactive authentication method
- more testing than my own

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,


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 | 1267 +++++++++++++++++++++++++++++++++++++++++
 src/rpc/virnetlibsshsession.h |   80 +++
 src/rpc/virnetsocket.c        |  184 +++++-
 src/rpc/virnetsocket.h        |   13 +
 src/util/virerror.c           |    9 +-
 14 files changed, 1802 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]