[ale] Robust Reverse Tunnels via SSH

Greg Freemyer greg.freemyer at gmail.com
Wed Aug 20 11:50:40 EDT 2008


All,

Does anyone know a recipe for "Robust Reverse Tunnels via SSH", or
some other robust way to achieve reverse tunnels.

=== background

I've seen a few posts about ssh agent forwarding, etc.  That assumes
you have at least one way through the firewall.

I need to talk to a machine behind a firewall and I don't want to open
up a port.  ssh with the -R option puts in place a reverse tunnel to a
gateway server.  Exactly what I want to do.

I've tried to set it up this weekend.  It works, but it has not been
very robust.

I've seen comments online saying you can add an entry to crontab to
address that.  I've done that as well and I can see the new ssh
sessions being initiated from the remote server on my gateway server,
but when I try ssh to the gateway port, I get nothing more often than
not.  (It has worked a few times, so I have the basic concepts right.)

Thanks
Greg
-- 
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com


More information about the Ale mailing list