X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Anthony de Sousa Subject: Re: How to close a SSH connection from a BAT file Date: Tue, 21 Aug 2007 01:18:33 +0000 (UTC) Lines: 11 Message-ID: References: <46B0178A DOT 5887EC7F AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 Anthony de Sousa csc.com> writes: > > > I would like to conclude that we have decided to use AUTOSSH to control ssh. With autossh the processes are stoped automatically whenever autossh is stoped. As Brian originally suggested all that is then required on either side of the bat file is a Net Start Autossh and a Net Stop Autossh. Many Thanks -- 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/