This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSH dropping out


> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]