• P
    libssh2_transport: add main libssh2 transport implementation · 1193fc5f
    Peter Krempa 提交于
    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.
    1193fc5f
POTFILES.in 4.9 KB