If you use Cygwin and SSH and you are frustrated because you lose server connection after some time, then this could help you:
    create the file cygwin/etc/ssh_config
    place the following text:
    
KeepAlive yes
ServerAliveInterval 60
    	
    restart cygwin shell
