cURL / Mailing Lists / curl-library / Single Mail


CURLOPT_SSH_KEYFUNCTION never gets called?

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


List admin:
Received on 2011-02-20