SSH timeout

I am having issues keeping my SSH session connected during maintenance tasks (running updates).

It seems to disconnect after 5-10 min idle.

I tried to change the ClientAliveInterval and ClientAliveCountMax to various things but nothing seems to change the time out. Followed the steps found here (https://www.tecmint.com/increase-ssh-connection-timeout/). Also had tried setting the TCPKeepAlive to yes.

Is there somewhere else I need to be looking at to adjust these timers?

Are you using putty? Try having the client itself send null packets to keepalive the session.40

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.