cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSH issues

From: Abel Alonso <abelalon_at_gmail.com>
Date: Fri, 3 Aug 2007 10:55:44 +0200

>
>
> What platform?
> What libcurl version?
> What libssh2 version?
>
> Platform: Windows XP
libcurl version: 7.16.4
libssh2 version: 20070723 Snapshot

I think that i need to set some additional option to work with ssh, but i
don't know what options are.

The code I used to connect is the following:

char errorMsg[CURL_ERROR_SIZE];

CURL *curl;

CURLcode res = CURLE_OK;

curl = curl_easy_init();

curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, errorMsg );

curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE);

curl_easy_setopt(curl, CURLOPT_URL, remUrl);

res = curl_easy_perform(curl);
Received on 2007-08-03