cURL / Mailing Lists / curl-users / Single Mail

curl-users

CURL problem with sftp using proxy

From: Luis Gonzalez <lgonzalezsa_at_gmail.com>
Date: Thu, 8 Mar 2012 12:56:13 -0600

I got this error when I try to connect with sftp site using proxy:

lugonz@proxygp:~> curl --proxy 1.1.1.1:3128 --proxytunnel --connect-timeout 3 -v -k -u 'minagri' sftp://2.2.2.2/data/
Enter host password for user 'minagri':
* About to connect() to proxy 1.1.1.1 port 3128 (#0)
* Trying 1.1.1.1... connected
* Connected to 1.1.1.1 (1.1.1.1) port 3128 (#0)
* Failure establishing ssh session
* Closing connection #0
curl: (2) Failure establishing ssh session

Do you know what's wrong with my command?

Luis Gonzalez
lgonzalezsa_at_gmail.com

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-08