cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: reg:known_hosts file

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 18 Aug 2008 21:57:44 -0700

On Tue, Aug 19, 2008 at 10:10:11AM +0530, nagarajan.sreenivasan_at_wipro.com wrote:
> Platform:linux
>
> I have a requirement that i would do a
>
> 1) ssh to a hostname say ssh@<ip of the host>
>
> Now the current host is not in the known_host file
>
> is there any mechanism/funciton in curl that it can add the finger print to
> the known_host file

curl doesn't use the OpenSSH (or any other) known_hosts file. But you can
specify the fingerprint to check using the CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
option.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-08-19