Compiled the latest version 7.58.0 and now different error. please advice.

# ./curl -V

curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.0.1e zlib/1.2.3

Release-Date: 2018-01-24

Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp
scp sftp smb smbs smtp smtps telnet tftp

Features: AsynchDNS Largefile NTLM NTLM_WB SSL libz UnixSockets HTTPS-proxy

# curl  -vvv -x my-socks-proxy.tld:1080 sftp://my-ftp-server.tld/ -u
ftp-user        Enter host password for user 'ftp-user':

* Trying


* Connected to my-socks-proxy.tld ( port 1080 (#0)

* allocate connect buffer!

* Establish HTTP proxy tunnel to my-ftp-server.tld:22

* Server auth using Basic with user 'ftp-user'

> CONNECT my-ftp-server.tld:22 HTTP/1.1

> Host: my-ftp-server.tld:22

> User-Agent: curl/7.58.0

> Proxy-Connection: Keep-Alive


* Proxy CONNECT aborted

* CONNECT phase completed!

* Connection #0 to host my-socks-proxy.tld left intact

On 14 Feb 2018 1:32 pm, "Daniel Stenberg" <> wrote:

On Wed, 14 Feb 2018, Nazeem Shereef wrote:

Installed latest curl available for RHEL6(curl-7.31.0-23.2.x86_64) but it
> doesn't have sftp support

You need a "libssh2-dev" package (or a name similar to that) to build curl
with libssh2 support.

But note that curl 7.31.0 is also old (approaching 5 years). I would rather
suggest you build from a release tarball instead.



Reply via email to