Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <6.2.1.2.0.20050908172128.041285b8@pop.prospeed.net> Date: Thu, 08 Sep 2005 17:24:21 -0400 To: Michael Brian Bentley , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:43 AM 9/8/2005, you wrote: >We run an application under Windows 2003 Server Standard Edition as a service using Firedaemon. That application invokes ssh connections using the command > >c:\cygwin\bin\ssh -T -l fill_in_the_username > >with the appropriate ssh keys setup well ahead of time. > >When a user logs onto the W2k3 Server via Terminal Services Remote Desktop Connection [RDC], user can interact with the application. While looking at the service, user causes the application to start one or more ssh processes. These start to run and appear to work fine. > >When user logs out of the RDC session, the application running as a service continues, but the ssh processes end. Sounds to me like FireDaemon is passing on the logoff event to processes. Maybe you just need to use 'nohup' for your 'ssh' invocations? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/