The ssh client
PuTTY can be configured to maintain a connection and not time out due to
inactivity.
To set up a new connection with "keep alives" to maintain your connection follow the steps below:
- Open the PuTTy application and navigate to the Options panel.
- Select Connection
- In the field Sending null packets to keep session active change the default value from 0 to 1800 (30 minutes)
- Check the Enable TCP
keepalives (SO_KEEPALIVE option) check box.
Note: This option may not be available in older versions of the PuTTY client. - Select Session from the left hand menu.
- In the Host Name (or IP Address) field enter the destination hostname, for example vayu.nci.org.au
- In the Saved Sessions box enter a name for the session, for example vayu.
- Select Save
Any new sessions
will now use these modified connection options.
To modify an existing session with "keep alives" to maintain your connection follow the steps below:
- Open the PuTTy application and navigate to the Options panel.
- Load the session definition by selecting it from the list.
- Click Load
- Select Connection
- In the field Sending null packets to keep session active change the default value from 0 to 1800 (30 minutes)
- Check the Enable TCP
keepalives (SO_KEEPALIVE option) check box.
Note: This option may not available in older versions of the PuTTY client. - Select Session from the left hand menu
- Select Save
Any new sessions
will now use these modified connection options.
To make all new connections include "keep alives" to maintain your ssh connection follow the steps below:
- Open the PuTTy application and navigate to the Options panel.
- Select Connection
- In the field Sending null packets to keep session active change the default value from 0 to 1800 (30 minutes)
- Check the Enable TCP
keepalives (SO_KEEPALIVE option) check box.
Note: This option may not be available in older versions of the PuTTY client. - Select Session from the left hand menu.
- Select 'Default Settings' in the 'Load, save or delete a stored sessions pane.
- Select Save
Now any new
session created will use the new keepalive times by default.