cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP with unknown host (was Re: CURLOPT_SSH_KEYFUNCTION never gets called?)

From: <mlist0987_at_gmail.com>
Date: Mon, 21 Feb 2011 12:21:26 -0800

On Feb 21, 2011, at 4:47 AM, Daniel Stenberg wrote:

> On Sun, 20 Feb 2011, mlist0987_at_gmail.com wrote:
>
>> The sftpdir.c example that comes with libssh2 works perfectly, even without an entry for my server in the known_hosts file.
>
> ... and if you read that example source code again, you'll see that it makes no effort at all to verify that the server is indeed a known host...

Indeed, that is the behavior I am trying to emulate. Not possible with libcurl?

_murat

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-21