curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP error when using proxy with curl

From: Nazeem Shereef <nazeems_at_gmail.com>
Date: Wed, 14 Feb 2018 13:18:50 +0530

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

------

* Protocol sftp not supported or disabled in libcurl

* Closing connection -1

curl: (1) Protocol sftp not supported or disabled in libcurl

----------

# rpm -qi curl-7.31.0-23.2.x86_64

Name : curl Relocations: (not relocatable)

Version : 7.31.0 Vendor: obs://
build.opensuse.org/home:ganzou

Release : 23.2 Build Date: Thu 15 Aug 2013
08:09:35 AM UTC

Install Date: Tue 13 Feb 2018 11:11:20 PM UTC Build Host: build13

Group : Experimental Source RPM:
curl-7.31.0-23.2.src.rpm

Size : 1957092 License: GPL

Signature : RSA/SHA1, Thu 15 Aug 2013 08:09:34 AM UTC, Key ID
a124c09d4559f191

URL : http://curl.haxx.se/download/curl-7.31.0.tar.gz

Summary : Curl is a command line tool for transferring data specified
with URL syntax.

Description :

Curl is a command line tool for transferring data specified with URL syntax.

:/root # curl -V

curl 7.31.0 (x86_64-unknown-linux-gnu) libcurl/7.31.0 OpenSSL/1.0.0
zlib/1.2.3

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

Features: IPv6 Largefile NTLM NTLM_WB SSL libz

:/root #

:/root # rpm -qa |grep curl

python-pycurl-7.19.0-9.el6.x86_64

curl-7.31.0-23.2.x86_64

libcurl-7.19.7-53.el6_9.x86_64

libcurl-devel-7.19.7-53.el6_9.x86_64

:/root #

:/root # rpm -qa |grep libssh2

libssh2-1.4.2-2.e

Current Vesrion:------------

:/root # curl -V

curl 7.31.0 (x86_64-unknown-linux-gnu) libcurl/7.31.0 OpenSSL/1.0.0
zlib/1.2.3

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

Features: IPv6 Largefile NTLM NTLM_WB SSL libz

Old Vesrion:------------

# curl -V

curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3
libidn/1.18 libssh2/1.4.2

Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp

Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

On 14 Feb 2018 3:37 am, "Daniel Stenberg" <daniel_at_haxx.se> wrote:

On Tue, 13 Feb 2018, Nazeem Shereef wrote:

So what you suggest.
>

First: don't top-post when responding to emails here, as it makes it really
hard to follow the discussion

I recommend you try a modern version of curl and see if that works better.
That's a standard recommendation for *anyone* that has a problem with an
old curl version. We fix bugs in a rapid pace and chances are problems from
a few years ago don't exist anymore or at least that they have changed.

And even if the bug ultimately still remains in the latest version, we
still want you to reproduce with that version and help us understand what
we need to do to reproduce it using that version.

-- 
 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-02-14