<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On 12 Sep 2007, at 3:28, SkoleSYS SkoleSYS wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi.<BR>My question is pretty simpel - can I do this using paramiko:<BR><BR>  ssh -l someone -L 10000:<A href="http://some-machine.some.domain.org:22/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> some-machine.some.domain.org:22</A> <A href="http://some.domain.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">some.domain.org </A><BR><BR>Paramiko seems to be a large library and I just don't know where to start.<BR><BR>open_forwarded_tcpip_channel seems to be the method I am looking for, but<BR>I'm not really sure how to use it, and I can't find any examples :-( <BR></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>That method is for the equivalent of the "-R" option, which is a little more complex.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The demo script "demos/forward.py" should do exactly what you want.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>robey</DIV><BR></BODY></HTML>