[paramiko] port forwarding question
Robey Pointer
robey at lag.net
Fri Sep 14 19:31:41 PDT 2007
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/20070914/cdc168c9/attachment.htm
More information about the paramiko
mailing list