
21 Aug
2012
21 Aug
'12
7:21 p.m.
On 08/21/2012 10:48 AM, Peter Krempa wrote:
The libssh2 code wasn't supposed to create the known_hosts file, but recent findings show, that we can't use the default created by OpenSSH as libssh2 might damage it. We need to create a private known_hosts file in the config path.
This patch adds support for skipping error if the known_host file is not
s/known_host/known_hosts/
present and let libssh2 create a new one. --- src/rpc/virnetsocket.c | 4 ++-- src/rpc/virnetsshsession.c | 26 ++++++++++++++++---------- src/rpc/virnetsshsession.h | 9 +++++++-- 3 files changed, 25 insertions(+), 14 deletions(-)
ACK. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org