cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_SSH_KEYFUNCTION never gets called?

From: <mlist0987_at_gmail.com>
Date: Sun, 20 Feb 2011 11:37:33 -0800

I am trying to get SFTP support working using libcurl. I am setting a keyFunction like this:

   curlcode = curl_easy_setopt(curl, CURLOPT_SSH_KEYFUNCTION, _keyFunction);

but my key function never gets called when I try to connect to an SFTP server. I'm kind of surprised by this. Is this common? Under what circumstances should it get called? The docs seem to say that it should always be called.

_murat

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