When curl is compiled with libssh (not libssh2), calling curl_easy_setopt() with option CURLOPT_SSH_KNOWNHOSTS fails with error code CURLE_UNKNOWN_OPTION.
CURLOPT_SSH_KNOWNHOSTS and CURLOPT_SSH_KEYFUNCTION are supported for
libssh as well. So accepting these options only when compiling with
libssh2 is wrong here.
Fixescurl#3493
… libssh
CURLOPT_SSH_KNOWNHOSTS and CURLOPT_SSH_KEYFUNCTION are supported for
libssh as well. So accepting these options only when compiling with
libssh2 is wrong here.
Fixescurl#3493
When curl is compiled with libssh (not libssh2), calling curl_easy_setopt() with option CURLOPT_SSH_KNOWNHOSTS fails with error code CURLE_UNKNOWN_OPTION.
Although in lib/ssh-libssh.c, I found this:
example program
curl/libcurl version
The text was updated successfully, but these errors were encountered: