[paramiko] port forwarding question

SkoleSYS SkoleSYS skolesys at gmail.com
Mon Sep 17 06:29:57 PDT 2007


You are so right - thanks!

Best regards Jakob

2007/9/15, Robey Pointer <robey at lag.net>:
>
> On 12 Sep 2007, at 3:28, SkoleSYS SkoleSYS wrote:
>
> Hi.
> My question is pretty simpel - can I do this using paramiko:
>
>   ssh -l someone -L 10000: some-machine.some.domain.org:22 some.domain.org
>
>
> Paramiko seems to be a large library and I just don't know where to start.
>
> open_forwarded_tcpip_channel seems to be the method I am looking for, but
> I'm not really sure how to use it, and I can't find any examples :-(
>
>
> That method is for the equivalent of the "-R" option, which is a little
> more complex.
>
> The demo script "demos/forward.py" should do exactly what you want.
>
> robey
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lag.net/pipermail/paramiko/attachments/20070917/2a02243a/attachment.htm 


More information about the paramiko mailing list