cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

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

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...

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