cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP and SCP protocols - configure problem

From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Mon, 19 Nov 2012 10:26:03 -0700

On Nov 19, 2012, at 9:01 AM, Yehezkel Horowitz <horowity_at_checkpoint.com> wrote:

> Hi
>
> I found a problem in configure, although I pass "--disable-ftp" as configure option, I still see that it supports SFTP.

I'm not surprised; SFTP has a name that is similar to FTP, but it is actually a very different protocol. It's not just FTP secured using SSH, like how FTPS is FTP secured using TLS.

> I based this on the following output summary of configure :
>
> configure: Configured to build curl/libcurl:
> curl version: 7.27.0
> ...
> Protocols: HTTP HTTPS SCP SFTP
>
> This happen only when compiling on my linux50 compilation server, but not on my linux30 compilation server (both run with the exact same configure options!).
>
> I could provide more details, but I don't know which details you need...
>
> In addition, I didn't found a way to disable SCP (--disable-scp), did I missed something?

If you disable libssh2 by using the configure option --without-libssh2, then that should turn off SCP and SFTP.

Nick Zitzmann
<http://www.chronosnet.com/>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-19