Indeed this is a tips rather than article.

In the working environment, I use Linux all the time, but sometime, I do use windows to connect to my linux desktop for working.

Ssh connection of course. PuTTY is my favirous tool on windows to connect to my Linux desktop.

It's common that inactive ssh connection get disconnected using PuTTY, here is my way to fix it.

When you open PuTTY terminal, first you will see the configuration window.

In left category area, click connection

In the right side, it's the options controlling the connection

Set the follow option to non zero

Sending of null packets to keep session active
Seconds between keepalives ( 0 to turn off)

I set it to 10 seconds, it works quite good.

 

Then save it to your session, then you have a guarranted active ssh connection