[paramiko] ssh -r , dynamic set up
Robey Pointer
robey at lag.net
Sat Feb 23 19:37:11 PST 2008
On 27 Jan 2008, at 2:03, John wrote:
> Hello, I'm trying to write a script which will allow me to initiate
> (spawn?) a reverse tunnel from a remote machine (outside a firewall)
> to an internal machine using SSH -R
>
> I posted to another list and was pointed in the direction of
> paramiko. I've read the tutorials, but cannot seem to figure out
> exactly how I can do this... I'm hoping someone can look at what I'm
> trying to do below and provide an example...'
This is becoming a pretty common request, so I checked in an
"rforward.py" script (in demos/) in the paramiko dev branch. I also
cleaned up "forward.py" so both scripts use SSHClient now, hopefully
making them smaller and easier to follow.
robey
More information about the paramiko
mailing list