SSH dropping out

Andrew Schulman schulman.andrew@epamail.epa.gov
Thu Nov 6 14:16:00 GMT 2008


> Is there a way, from within the same batch script used to make the SSH 
> connection, to send a packet of data, or something similar, every minute 
> so that the connection will be kept alive?

Have a look at autossh, which does this and also restarts any ssh connection
which is still alive but has stopped passing data.  You can even set it up to
run as a service, so that your TCP tunnels will be available from boot.  See the
README.Cygwin file for details.

Andrew.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list