[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 1/2] libssh2_session: Add support for creating known_hosts file



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]