20101119 keeping putty connections alive - plembo/onemoretech GitHub Wiki

title: Keeping PuTTY connections alive link: https://onemoretech.wordpress.com/2010/11/19/keeping-putty-connections-alive/ author: lembobro description: post_id: 108 created: 2010/11/19 11:39:00 created_gmt: 2010/11/19 11:39:00 comment_status: open post_name: keeping-putty-connections-alive status: publish post_type: post

Keeping PuTTY connections alive

Timeouts are a fact of life when working in enterprise network environments. For PuTTY ssh client users there’s a parameter that can help. It’s under the Connection branch of the PuTTY configuration tree and entitled “Sending null packets to keep session active”. After recently finding this I’ve made the default 300 seconds, which should cover all but the most aggressive firewall or VPN timeouts.

Here’s a screenshot of the configuration:

putty_conn_keepalive.jpg

The default setting for this parameter is “0”, which means it is turned off.

Although having this set has helped me to avoid losing a valuable work session prematurely, I still recommend using a vnc session (the link is to a very useful howto from the CentOS project) to ensure persistence of both personal and group work sessions at the console. This is especially true when it comes to the installation and initial configuration of various services and applications. When things get really frustrating, or the need for further study of the documentation becomes apparent, it sometimes helps to be able to set a session aside. It’s also helpful to be able to share what you’re doing with a helpful colleague — if you can find one.

Copyright 2004-2019 Phil Lembo