search for: ssh_clean_pubkey_hash

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

2019 Mar 06
0
[PATCH nbdkit] Add ssh plugin using libssh.
...d not get server public key SHA1 hash"); + return -1; + } + + state = ssh_session_is_known_server (h->session); + switch (state) { + case SSH_KNOWN_HOSTS_OK: + /* OK */ + break; + + case SSH_KNOWN_HOSTS_CHANGED: + nbdkit_error ("host key for server changed"); + ssh_clean_pubkey_hash (&hash); + return -1; + + case SSH_KNOWN_HOSTS_OTHER: + nbdkit_error ("host key for server was not found " + "but another type of key exists"); + ssh_clean_pubkey_hash (&hash); + return -1; + + case SSH_KNOWN_HOSTS_NOT_FOUND: + /* This i...
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.