delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/08/17:24:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cygwin AT cygwin DOT com>
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 <bentley AT crenelle DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service
In-Reply-To: <p06110402bf458caf1166@[192.168.1.103]>
References: <p06110402bf458caf1166@[192.168.1.103]>
Mime-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019