search for: ssh_handl

Displaying 2 results from an estimated 2 matches for "ssh_handl".

Did you mean: ssh_handle
2019 Mar 06
0
[PATCH nbdkit] Add ssh plugin using libssh.
...protocol port number.\n" \ + "user=<USER> SSH user name.\n" \ + "password=<PASSWORD> SSH password.\n" \ + "config=<CONFIG> Alternate local SSH configuration file." \ + +/* The per-connection handle. */ +struct ssh_handle { + ssh_session session; + sftp_session sftp; + sftp_file file; +}; + +/* Verify the remote host. + * See: http://api.libssh.org/master/libssh_tutor_guided_tour.html + */ +static int +verify_remote_host (struct ssh_handle *h) +{ + enum ssh_known_hosts_e state; + unsigned char *hash = NULL; +...
2019 Mar 06
2
[PATCH nbdkit] Add ssh plugin using libssh.
This adds a simple plugin using libssh (not libssh2). The intended use for this is with virt-v2v when sourcing guests from VMware over SSH. We've had several years of problems getting our libssh-based driver into qemu. By putting it into nbdkit instead we can bypass that. However this also lets us combine ssh access with filters, in particular the recently written ‘rate’ filter. Rich.