Account Manager

Portal HomeClient AreaKnowledgebaseSupport TicketsDownloads

How do I prevent SSH from timing out?

Edit the /etc/ssh/sshd_config file and add or update the following variables.

  • TCPKeepAlive yes 
  • ClientAliveInterval 30 
  • ClientAliveCountMax 99999

Then restart ssh by typing

  • /etc/init.d/sshd restart



Was this answer helpful?

Add to Favourites
Print this Article

Also Read