How to set PuTTY keepalives

To connect ssh server with putty,by default it will break if long time inactive. So we can resolve this as below settings, “5” means putty will send a packet in each 5 seconds.