delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/15/13:11:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B2A4181.9060309@dufair.org>
Date: Fri, 15 Jun 2001 12:10:25 -0500
From: Jason Dufair <jase AT dufair DOT org>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.1) Gecko/20010607
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: sshd & cygrunsrv

Hello all -

First things first - Thank god for cygwin - I love it!

I've recently tried to get sshd running on Win2K sp2, OpenSSH v2.9p1 
Cygwin DLL v1.3.2 .  When I run it from bash (i.e., just type 
/usr/sbin/sshd) all seems well - I can ssh, scp from a remote machine 
using public/private key pairs (I have version 1 and 2 keys installed). 
 When I install it as a service using

cygrunsrv -I sshd -p /usr/sbin/sshd -a "-D -e"

The service seems to install, start, and stop OK, but I cannot 
authenticate to it, either via localhost or via the remote machine.  I 
get "permission denied (publickey, keyboard-interactive).  I looked at 
the logs and used -v on the client, but found nothing that jumped out at 
me.  I'd be glad to post them if need be.  I suspect it may have 
something to do with environment vars running as a service.  Anyone have 
any suggestions on how to troubleshoot further?  TIA.

(Many thanks especially to Corrina for cygrunsrv - sorry to send 
privately earlier, Corrina)

-- 
Jason Dufair - jase AT dufair DOT org
http://www.dufair.org/
"In matters of style, swim with the current; 
in matters of principle, stand like a rock."
-- Thomas Jefferson



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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