SSH timeout


#1

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?


(Andrew) #2

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


(system) closed #3

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