How to compile SFTP support in cURL?

edvanleeuwen

Verified User
Joined
Nov 18, 2013
Messages
155
Default cURL is not compiled with the sftp protocol. Which arguments should I add to recompile with this support?
 
Thanks, smtalk. Just for future reference:

Centos 7:
yum install libssh2 libssh2-devel

Add --with-libssh2 at the end of the command in configure.curl.
 
It would be good to have cURL compiled with SFTP by default. Security is a must these days!

Thanks Ed :cool:
 
Back
Top