Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: Cygwin List <cygwin@cygwin.com>
Message-Id: <6.1.0.6.0.20040805130604.0334ea80@pop.prospeed.net>
X-Sender: 
Date: Thu, 05 Aug 2004 13:08:45 -0400
To: Cygwin List <cygwin@cygwin.com>,
   Rachan Malhotra <rMalhotra@freightdesk.com>
From: Larry Hall <lh-no-personal-replies-please@cygwin.com>
Subject: Re: WinXP service problem
In-Reply-To: <6.1.0.6.0.20040805115220.03343fe8@pop.prospeed.net>
References: <4110F2D2.6090608@freightdesk.com> <6.1.0.6.0.20040804105419.03341480@pop.prospeed.net> <41110A32.1090408@freightdesk.com> <6.1.0.6.0.20040804135759.033464a8@pop.prospeed.net> <411249F2.2020209@freightdesk.com> <6.1.0.6.0.20040805115220.03343fe8@pop.prospeed.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

Boy, I didn't proofread that one very well. ;-)

At 11:56 AM 8/5/2004, you wrote:
>At 10:53 AM 8/5/2004, you wrote:
>>Ok. I think I figured out the problem. But I still do not have a solution for it. Here's what I think the problem is:
>>When the script is run as a windows service, the user that's calling the script is SYSTEM. Inside the script is a call to ssh client with the required parameters. I pass it the absolute path of the id_rsa file. The issue seems to be that user SYSTEM is not the owner of id_rsa file so it is being asked for a passphrase. On the contrary, if I add the batch script to startup programs, then no passphrase is asked and I am logged in right away. The problem here is that the command prompt window stays on the screen. This is something I wanted to avoid to begin with.
>
>
>Ah, OK.  Yeah, that would be a problem.  I had thought you had said you
>were running this service as the user you wanted to 'ssh' as but I guess
>I didn't.  You could try that.  That should help (and keep you from needing 

^^^^^^^^^^
I was wrong about that.

>to specify the 'id_rsa' file.

                             ^
                             )




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

