Re: How to prevent or quickly fix hosed ssh tunnels

From: all mail refused (elvis_at_notatla.org.uk)
Date: 01/26/05


Date: 26 Jan 2005 01:06:49 GMT

In article <LYxJd.21889$by5.20379@newssvr19.news.prodigy.com>, Thursday wrote:

>Upon investigating further, it seems to be a problem with the remote
>server not terminating the old ssh tunnels.
>
>The remote server seems completely unaware that the old ssh tunnels must
>be killed/closed. The remote server continues have an ESTABLISHED state

>Is there a better way to fix this than simply having a remote .bashrc
>script that kills the old ssh tunnels upon login initiated by the new
>tunnel?

Do you have TCPKeepAlive (default for some systmes) and/or
ClientAliveInterval set ? I think these are meant to help with your situation.

See also (wrapped URL):
http://groups.google.co.uk/groups?hl=en&lr=&selm=m2sm4s7ic1.
fsf%40darwin.oankali.net

-- 
Elvis Notargiacomo  master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
    7.031: OnACPower returned value( 0x1 ) which is Equal To 0x1