Tuesday, May 8, 2012

Keep alive/active of a Putty session

Keeping idle sessions active.




Another frustrating problem is induced by the time-to-live of inactive or idle TCP sessions on firewall or switch configurations.

At some companies this is put aggressively low so that TCP sessions that have no activity for 1 minute or even 30 seconds are being dropped.

If you are using an SSH connection over such a network device, you have to take care to send keep-alive packets over your idle session.

To do this go to Category: Connection and set Seconds between keepalives (0 to turn off) to 30.



-----------------------------------------------------------------------------------------------------------------------------------------------------------------------



You need to load every Solution in Putty.

Steps are :-

1. Load any solution.

2. Go to Connection.

3. Change SECONDS BETWEEN KEEPALIVES from 0 to 30.

4. Go to Session again and SAVE the settings.



Also see my settings from putty. I have no TIMEOUT ISSUE now.







No comments:

Post a Comment