[Bug 311029] Re: curl and pycurl is not compiled with sftp support

Valentin Wittich 311029 at bugs.launchpad.net
Sat Feb 2 15:55:35 UTC 2019


> Could someone describe a test case using the backend which we could use to
> test that the feature is working if we enable it to bionic (the 'curl 
> --version' output tells us that the backend is enabled but it would be 
> good to also check that it's actually correctly working)

Not sure what you mean by test case using the backend. But I compiled
version 7.63.0 and it looks like it works find. Though I just used git-
ftp to upload via sftp, but that worked smooth.

Here is what I did to install it with ubuntu 18.04. I had to compile
debhelper too.

git clone https://git.launchpad.net/ubuntu/+source/debhelper
cd debhelper/
sudo apt-get install build-essential po4a
dpkg-buildpackage -uc -us
cd ..
sudo apt-get install dwz
sudo dpkg -i debhelper_12ubuntu1_all.deb


git clone https://git.launchpad.net/ubuntu/+source/curl
cd curl/
sudo apt-get install build-essential libssh-dev
dpkg-buildpackage -b -rfakeroot -us -uc
cd ..
sudo dpkg -i libcurl*.deb
sudo dpkg -i curl*.deb

Here the versions output:

# curl --version
curl 7.63.0 (x86_64-pc-linux-gnu) libcurl/7.63.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) libssh/0.7.0/openssl/zlib nghttp2/1.30.0 librtmp/2.3
Release-Date: 2018-12-12
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/311029

Title:
  curl and pycurl is not compiled with sftp support

Status in curl package in Ubuntu:
  Fix Released
Status in curl package in Debian:
  Fix Released

Bug description:
  Binary package hint: curl

  Running curl --version, I see:
  Protocols: tftp ftp telnet dict ldap ldaps http file https ftps
  SFTP is obviously missing, although it is supported by curl upstream
  The SFTP is also missing from python-pycurl, probably because libcurl doesn't have it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/311029/+subscriptions



More information about the foundations-bugs mailing list