How to reliably keep an SSH tunnel open?
Posted
by Peltier
on Super User
See other posts from Super User
or by Peltier
Published on 2009-09-08T13:04:22Z
Indexed on
2010/05/29
13:54 UTC
Read the original article
Hit count: 283
I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken.
If I could at least monitor the tunnel automatically, I could restart the tunnel when it hangs, but I haven't even figured a way of doing that.
Bonus points for the one who can tell me how to prevent my ssh connection from hanging, of course!
© Super User or respective owner