Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Joshua McClintock To: cygwin AT cygwin DOT com Subject: RE: sshd & cygrunsrv Date: Thu, 14 Jun 2001 20:41:00 GMT X-Mailer: CorporateTime Outlook Connector 3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id QAA16885 Post your /etc/sshd_config up on the list, it may be your problem. joshm at internap dot com ************* Heres what Jason said ************** 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) -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple