Configure keepalives to prevent putty automatically disconnecting
I often need to open multiple putty sessions. When I need to use it again after a while, sometimes putty has been automatically disconnected. This has troubled me for a long time, and now I found that there is an option to solve this problem, which is “Seconds between keepalives”.
It defaults to 0, which means no keepalives are sent. If we configure a non-zero value, it will send keepalives periodically to prevent disconnection. It works very well now.
We can see the keepalives from the packet capture.