Extend the timeout on SSH connections

A quick google search will quickly answer this question, but I’ve found myself asking it a few times lately.  Often when I let an SSH session go idle, I’ll end up being disconnected.  By adding ServerAliveInterval 60 to ~/.ssh/config I’ve managed to limit this from happening.

There is also a similar server side fix for this.  Consult man ssh_config and man sshd_config for more details.

Related posts:

  1. Subversion over SSH Continuing with my exploration of using some form of version...
  2. Remote packet capture Had a need to capture some traffic on the remote...
  3. Check speed of connected link in Linux If you’ve ever wanted to check on the status of...

Related posts brought to you by Yet Another Related Posts Plugin.

This entry was posted in quickfire, tips and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. 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>