cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: ssh custom port

From: Norton, Mike <mikenorton_at_pwsd76.ab.ca>
Date: Fri, 15 Jul 2016 19:44:13 +0000

I’ve never used sftp with Curl but I just tried, and specifying the URI as sftp://host.example.com:12345/path seems to work fine for me. (I’m on Curl 7.26.0.)

The output you pasted does show that Curl is connecting to port 10022. So I’m guessing your failure is due to something other than the port. Not sure how you jumped to the conclusion that the port is the problem.

-mn

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-07-15