[paramiko] ssh web proxy
james bardin
jbardin at bu.edu
Fri Aug 21 10:44:23 PDT 2009
On Fri, Aug 21, 2009 at 12:46 PM, Irooniam<irooniam at gmail.com> wrote:
>
> So basically, the ssh server I'm trying to develop would basically tunnel
> socks requests over ssh?
>
No, it would need to be a SOCKS server that can tunnel requests over ssh.
>
> What is the method/attribute of paramiko for me to figure out that it's a
> socks request?
>
There is none, because paramiko isn't a SOCKS server. Without
something that understands that protocol, all you can do is blindly
tunnel the traffic. You may want to look at Twisted, which implements
the SOCKSv4 protocol. If that works for you, you could use twisted
conch, which is their ssh implementation.
-jim
More information about the paramiko
mailing list