Call: (480) 382-8464

ssh timeout

SSH Timeout

If SSH timeout is bugging you, here is how to increase the timeout for the ssh shell:

On the Server:


sudo vim /etc/sshd_config

#add this line for server side keep alives every 60s:
ClientAliveInterval 60

On the Client:


sudo vim /etc/ssh_config

#add this line to send keep alives from client to server every 60s
ServerAliveInterval 60

Don’t forget to restart the ssh daemon where appropriate:


sudo /etc/init.d/ssh restart

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Main Offers/Services

Hosting and website related services offered by Digital Crunch:



Managed VPS Hosting

Server Updates, Module/Software Installs, Firewall, Security, Hosting Management, Wordpress - let us manage it for you

Hosted Email

Setup and Maintain Business Class, Secure Email Hosting including spam protection and 25GB of storage space

Linux Consulting

Server Updates, Module/Software Installs, Firewall, Security, Hosting, Wordpress and Apps, anything related to Linux

Email Marketing Services

We broadcast your content to your list, capture leads for you, follow up on schedules, make more sales for you

Website Maintenance

Content updates, menu changes, graphics changes, adding content, getting links, building traffic, building sales funnels

Hosting Tutorials

Tutorials we've written for other customers that like to get their hands dirty and learn about hosting