libvirt/src/util
Peter Krempa 1193fc5f44 libssh2_transport: add main libssh2 transport implementation
This patch adds helper functions that enable us to use libssh2 in
conjunction with libvirt's virNetSockets for ssh transport instead of
spawning "ssh" client process.

This implemetation supports tunneled plaintext, keyboard-interactive,
private key, ssh agent based and null authentication. Libvirt's Auth
callback is used for interaction with the user. (Keyboard interactive
authentication, adding of host keys, private key passphrases). This
enables seamless integration into the application using libvirt. No
helpers as "ssh-askpass" are needed.

Reading and writing of OpenSSH style "known_hosts" files is supported.

Communication is done using SSH exec channel, where the user may specify
arbitrary command to be executed on the remote side and reads and writes
to/from stdin/out are sent through the ssh channel. Usage of stderr is
not (yet) supported.
2012-08-21 14:47:09 +02:00
..
bitmap.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
bitmap.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
buf.c maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
buf.h maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
cgroup.c build: fix PROBE() usage of intptr_t 2012-08-09 15:40:42 -06:00
cgroup.h maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
command.c util: include stderr in log message when an external command fails 2012-08-07 15:25:40 -04:00
command.h add function virCommandNewVAList 2012-08-01 11:44:32 +08:00
conf.c maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
conf.h maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
dnsmasq.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
dnsmasq.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
ebtables.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
ebtables.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
event_poll.c Fix errno check, prevent spurious errors under heavy load 2012-08-08 15:50:58 -06:00
event_poll.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
event.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
event.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
hooks.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
hooks.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
hostusb.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
hostusb.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
iohelper.c virrandom: make virRandomInitialize an automatic one-shot 2012-08-06 08:15:13 -06:00
iptables.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
iptables.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
json.c Fix virJSONValueToString prototype for Mingw32 2012-08-15 15:51:46 +01:00
json.h Allow control over JSON string pretty printing 2012-08-15 10:55:51 +01:00
keymaps.csv Rsync keymaps.csv file with GTK-VNC 2012-01-12 20:44:55 +00:00
logging.c Remove manual one-shot global initializers 2012-08-02 11:50:46 +01:00
logging.h Remove manual one-shot global initializers 2012-08-02 11:50:46 +01:00
memory.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
memory.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
pci.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
pci.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
processinfo.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
processinfo.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
sexpr.c Convert (nearly) all files in src/util/ to use virReportError() 2012-07-18 16:31:35 +01:00
sexpr.h build: fix PROBE() usage of intptr_t 2012-08-09 15:40:42 -06:00
stats_linux.c maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
stats_linux.h maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
storage_file.c Add APIs for obtaining the unique ID of LVM & SCSI volumes 2012-08-09 16:12:01 +01:00
storage_file.h Add APIs for obtaining the unique ID of LVM & SCSI volumes 2012-08-09 16:12:01 +01:00
sysinfo.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
sysinfo.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
threadpool.c Add APIs for virThreadPoolPtr to query some config params 2012-08-15 10:55:51 +01:00
threadpool.h Add APIs for virThreadPoolPtr to query some config params 2012-08-15 10:55:51 +01:00
threads-pthread.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
threads-pthread.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
threads-win32.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
threads-win32.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
threads.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
threads.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
util.c util: typos in fallback code fo virDoubleToStr 2012-08-14 12:12:38 +02:00
util.h json: fix interface locale dependency 2012-08-14 07:30:14 +02:00
uuid.c util: make return value of virUUIDFormat and virMacAddrFormat useful 2012-08-14 15:47:02 -04:00
uuid.h util: make return value of virUUIDFormat and virMacAddrFormat useful 2012-08-14 15:47:02 -04:00
viratomic.c Rewrite virAtomic APIs using GLib's atomic ops code 2012-08-02 11:50:59 +01:00
viratomic.h Rewrite virAtomic APIs using GLib's atomic ops code 2012-08-02 11:50:59 +01:00
viraudit.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
viraudit.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virauth.c fixed SegFault in virauth 2012-07-25 10:37:51 +02:00
virauth.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virauthconfig.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virauthconfig.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virdbus.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virdbus.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virfile.c Rewrite virAtomic APIs using GLib's atomic ops code 2012-08-02 11:50:59 +01:00
virfile.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virhash.c Implement virHashRemoveAll function 2012-04-19 10:21:43 -04:00
virhash.h Implement virHashRemoveAll function 2012-04-19 10:21:43 -04:00
virhashcode.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virhashcode.h build: fix PROBE() usage of intptr_t 2012-08-09 15:40:42 -06:00
virkeycode-mapgen.py Fix keymap used to talk with QEMU 2011-08-26 14:18:57 +01:00
virkeycode.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virkeycode.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virkeyfile.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virkeyfile.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virmacaddr.c util: make return value of virUUIDFormat and virMacAddrFormat useful 2012-08-14 15:47:02 -04:00
virmacaddr.h util: make return value of virUUIDFormat and virMacAddrFormat useful 2012-08-14 15:47:02 -04:00
virnetdev.c network: return netdev name or pci addr of the VF in actualDevice 2012-08-17 15:43:26 -04:00
virnetdev.h network: return netdev name or pci addr of the VF in actualDevice 2012-08-17 15:43:26 -04:00
virnetdevbandwidth.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetdevbandwidth.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetdevbridge.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetdevbridge.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetdevmacvlan.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetdevmacvlan.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetdevopenvswitch.c network: add support for setting VLANs on Open vSwitch ports 2012-08-17 11:12:29 -04:00
virnetdevopenvswitch.h network: add support for setting VLANs on Open vSwitch ports 2012-08-17 11:12:29 -04:00
virnetdevtap.c network: add support for setting VLANs on Open vSwitch ports 2012-08-17 11:12:29 -04:00
virnetdevtap.h network: add support for setting VLANs on Open vSwitch ports 2012-08-17 11:12:29 -04:00
virnetdevveth.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetdevveth.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetdevvlan.c util: add virNetDevVlanType 2012-08-15 13:10:57 -04:00
virnetdevvlan.h util: add virNetDevVlanType 2012-08-15 13:10:57 -04:00
virnetdevvportprofile.c util: include memory.h even if WITH_VIRTUALPORT isn't defined 2012-08-15 11:50:03 -04:00
virnetdevvportprofile.h util: utility functions for virNetDevVPortProfile 2012-08-14 15:47:20 -04:00
virnetlink.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetlink.h build: fix PROBE() usage of intptr_t 2012-08-09 15:40:42 -06:00
virnodesuspend.c Remove manual one-shot global initializers 2012-08-02 11:50:46 +01:00
virnodesuspend.h Remove manual one-shot global initializers 2012-08-02 11:50:46 +01:00
virobject.c Add a generic reference counted virObject type 2012-08-07 11:47:41 +01:00
virobject.h Add a generic reference counted virObject type 2012-08-07 11:47:41 +01:00
virpidfile.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virpidfile.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virrandom.c random: link with -lm when needed 2012-08-14 15:33:10 -06:00
virrandom.h Add virRandom() API to generate numbers with non-power-of-2 limit 2012-08-14 15:31:25 +01:00
virsocketaddr.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virsocketaddr.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virterror_internal.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virterror.c libssh2_transport: add main libssh2 transport implementation 2012-08-21 14:47:09 +02:00
virtime.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virtime.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virtypedparam.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virtypedparam.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
viruri.c maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
viruri.h maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
xml.c maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
xml.h build: fix build with older libxml2 2011-12-08 11:37:24 +08:00