This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: server refused our key


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]