X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: SSH dropping out Date: Thu, 06 Nov 2008 09:15:43 -0500 Lines: 10 Message-ID: References: <4912C7F1 DOT 3000701 AT btinternet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > 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/