cURL / Mailing Lists / curl-library / Single Mail

curl-library

SSH issues

From: Abel Alonso <abelalon_at_gmail.com>
Date: Thu, 2 Aug 2007 16:33:35 +0200

Hi everyone!

I'm trying to use libcurl with some ssh protocols, such as sftp and scp. But
when I'm attempting to connect to a server using one of these protocols, I
get a CURLE_OUT_OF_MEMORY and i don't know how to avoid this.

I'd be very grateful if anybody can tell me what are the steps i have to
perform to use ssh protocols with libcurl. I've already compiled libcurl
with libssh2 and openssl an define the follwings constants:

USE_LIBSSH2
USE_SSLEAY
USE_OPENSSL
HAVE_OPENSSL_ENGINE_H
HAVE_OPENSSL_PKCS12_H
HAVE_ENGINE_cleanup
HAVE_CRYPTO_CLEANUP_ALL_EX_DATA
HAVE_ENGINE_LOAD_BUILTIN_ENGINES
HAVE_LIBSSH2_H

Kind regards, Abel.
Received on 2007-08-02