Solution 1:
You can change putty settings like this:
On server side add this to /etc/ssh/sshd_config:
ClientAliveInterval 60
ClientAliveCountMax 2
You can change putty settings like this:
On server side add this to /etc/ssh/sshd_config:
ClientAliveInterval 60
ClientAliveCountMax 2