How to keep your SSH sessions in putty from timing out on Windows

Add:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parmeters\TcpMaxDataRetransmissions
Set it to DWORD:10