Getting to an SSH account over a HTTP proxy
Yu-Xi Lim
yuxi at ece.gatech.edu
Mon Jan 22 09:46:57 EST 2007
Diez B. Roggisch wrote:
> BJörn Lindqvist wrote:
>
>> I want to use Python to connect to a SSH account over a HTTP proxy to
>> automate some operations. I thought paramiko would be able to do that,
>> but it can not (it seems).
>>
>> Is there some other Python module that can do what I want?
>
> Is there anything that can do what you want? Last time I checked there is no
> such thing as SSH-over-HTTP. Are you sure that is possible?
He's referring to the HTTP CONNECT method, which can tunnel arbitrary
TCP connections, not just HTTP. The IETF draft for this is titled
"Tunneling TCP based protocols through Web proxy servers".
AFAIK, there are no Python modules which support that. The protocol
itself is fairly simply though, so it shouldn't be too hard to write
your own wrapper or proxy for the client side. Things get a little more
complicated if you have to authenticate with the proxy first.
More information about the Python-list
mailing list