[Python Wpg] paramiko tunneling?
Peter O'Gorman
peter at pogma.com
Sun Feb 8 11:45:11 EST 2009
budzelaa at cc.umanitoba.ca wrote:
> Hi,
>
> I am a newbie to SSH (paramiko) usage. I want to use paramiko to tunnel
> a TCP/IP
>
> connection over ssh, from a local machine to the same remote machine
>
> I connect to via paramiko-ssh.
>
> Forwarding is trivial when using command-line ssh
>
> (ssh -L <loca;port>:localhost:<remoteport> <remotehost>)
>
> but I can't figure out how to do it using paramiko (forwarded-tcpip?) and
Does this help?
http://bazaar.launchpad.net/~robey/paramiko/trunk/annotate/head%3A/demos/forward.py
Peter
--
Peter O'Gorman
http://pogma.com
More information about the Winnipeg
mailing list