cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using libCurl over SSH Tunnel

From: Michael Wood <esiotrot_at_gmail.com>
Date: Tue, 13 Apr 2010 20:00:18 +0200

On 13 April 2010 18:03, Jérôme Patey <jerome_at_patey.net> wrote:
> On 13/04/2010 14:06, Daniel Stenberg wrote:
>>
>> Uhm, in fact you probably even better do this:
>>
>>  ssh -D 8080 [sshserver]
>>
>> As that will make OpenSSH do a SOCKS-proxy for you over that tunnel. With
>> that up, you just point libcurl to use localhost:8080 as a socks proxy,
>
> Thing is: SSH server is already launched, and may not be OpenSSH at all...
> so I can't do this.

This is done with the OpenSSH client, not the server.

>>> Yes, that would be good... but how can I do that programmatically ?
>>
>> The ssh parts would be a plain OpenSSH command invoke, and the libcurl
>> code would be just regular libcurl code using a proxy.
>>
>
> Yep, that won't work :) Do you have another idea ?

Sorry :)

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-13