Use SSH tunnels?
I just discovered autossh, an SSH parent process that automatically reconnects and re-establishes tunnels if they disconnect (and nicely detaches into the background with -f
without needing nohup
or &
).
For easy installation and management, it’s in the Dag Wieers/rpmforge repository for yum
and the default repository for MacPorts.