Re: sshd doesn't disconnect for 30+ minutes after the TCP connection is closed ungracefully
Date: Mon, 06 Mar 2023 21:04:37 UTC
On 06Mar23, Peter Wemm allegedly wrote:
> (~/.ssh/config with ServerAlive* probes) for different reasons. The
> (overloaded) router would drop connections that seemed idle. Sending
> probes helped prevent that - or at least making the router drop somebody
> else's instead.
Probably explains why I, quite likely on the same shuttle, ended up running this on the
client side of my terminal sessions:
while :
do
ssh snake.corp.youknowhoo.com tmux emacs
echo Some dirty rat caused my connection to drop...again!
sleep 2
done