delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/19/11:32:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <006201c28fe8$85e076a0$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: =?iso-8859-1?Q?Manfred_K=F6hler?= <manfredwkoehler AT web DOT de>,
<cygwin AT cygwin DOT com>
References: <200211191546 DOT gAJFkuX17384 AT mailgate5 DOT cinetic DOT de>
Subject: Re: server refused our key
Date: Tue, 19 Nov 2002 16:27:15 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Manfred Köhler <manfredwkoehler AT web DOT de> wrote:

> I have setup sshd using privilege separation. ssh login works fine
> but sshd doesn't accept my public key, which works fine using ssh on
> other UNIX machines.

To diagnose properly, we need to see the *server* debug log.

To get this, install SSH as a service with debug arguments:

cygrunsrv -I sshd_debugmode -d "CYGWIN sshd DEBUG MODE" -p /usr/sbin/sshd -a
"-Dddde" -e
"CYGWIN=binmode tty ntsec" -t manual

Then stop sshd, start sshd_debugmode and try to log in.

NB: sshd in debug mode will die after handling one connection.

Server debug output will be written to /var/log/sshd_debugmode.log.


Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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