cURL / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg <>
Date: Mon, 21 Feb 2011 13:47:02 +0100 (CET)

On Sun, 20 Feb 2011, 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...

List admin:
Received on 2011-02-21