Documentation/SSH Keepalives

From systems
Jump to: navigation, search

Windows

  • PuTTY - A package of SSL related utilities including ssh, scp, sftp. You should download the Windows install for everything except PuTTY tel package which can be found at PuTTy Download Page
    • Set Keepalive in PuTTY by selecting Connection in the PuTTY Configuration window and setting the time to 300 seconds between keepalives. Remember to select Session and save the settings for the particular configuration.

Putty keep1.jpg

  • Cygwin - A package of Windows utilities and libraries which mimic a Unix environment and commands. Cygwin can be downloaded from Install Cygwin now. It is NOT Unix, however, the configuration for ssh is the same (see below).

Cygwin, Linux, Mac OS/X, Unix

Use the ssh command line for all these system types. The ssh configuration files are in ~/.ssh.

    • Set Keepalives - in ~/.ssh/config set:
ServerAliveInterval = 300