logoalt Hacker News

Squeeeeztoday at 11:30 AM1 replyview on HN

Have you looked into enabling ssh keep alive/server alive?


Replies

bloaktoday at 11:55 AM

From what I've read, TCPKeepAlive can be a good or a bad thing. On the one hand, sending a packet every now and then can dissuade a middle box from dropping the connection. On the other hand, if the connection is temporarily not working and would have started working again a few minutes later the attempt to send an unnecessary packet could cause the connection to break permanently when it wouldn't otherwise have broken. I suppose that next time I have a recurring problem I should try both.