delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/04/10:34:02

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
Message-ID: <4110F2D2.6090608@freightdesk.com>
Date: Wed, 04 Aug 2004 10:29:38 -0400
From: Rachan Malhotra <rMalhotra AT freightdesk DOT com>
User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: WinXP service problem
X-IsSubscribed: yes

Hi,

I am facing a problem when I try to start cygwin ssh client as Windows 
service. The task is to automatically login to a ssh server without user 
intervention. Below is the scenario.

I am trying to automatically connect to a Fedora Core2 server from my 
WinXP laptop. I have installed cygwin ssh client on my laptop and 
created a service to call a simple batch script which in turn calls 
ssh.exe with the required parameters. I am using RSA keys without 
passphrase to avoid entering password every time the service is started. 
The problem is that every time the service starts, it prompts for a 
passphrase. However, if I open a command prompt and manually call the 
batch script, it does not ask for a passphrase and directly log me into 
the server.

Please let me know of any information you might have about this. I will 
highly appreciate any help.

Thanks in anticipation,
Rachan Malhotra

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