Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to set my CURL to use SSH tunneling for certain domains. How can I accomplish that? I can also set up VPN or SOCKS or whatever, but I need to use CURL on local machine, but use the IP of remote machine for those connections.

share|improve this question
up vote 4 down vote accepted

OpenSSH can create a SOCKS proxy with the -D option, and cURL can use a SOCKS proxy with the various --socks* options.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .