This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: server refused our key
- From: "Max Bowsher" <maxb at ukf dot net>
- To: Manfred Köhler <manfredwkoehler at web dot de>,<cygwin at cygwin dot com>
- Date: Tue, 19 Nov 2002 16:27:15 -0000
- Subject: Re: server refused our key
- References: <200211191546.gAJFkuX17384@mailgate5.cinetic.de>
Manfred Köhler <manfredwkoehler@web.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/