public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sshd: server refused our key
@ 2002-11-19  8:12 Manfred Köhler
  2002-11-19  8:48 ` Max Bowsher
  0 siblings, 1 reply; 2+ messages in thread
From: Manfred Köhler @ 2002-11-19  8:12 UTC (permalink / raw)
  To: cygwin

Hello,

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.

This is part of debug information of login:

debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try pubkey: /home/mk/.ssh/id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: try privkey: /home/mk/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: next auth method to try is keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug1: next auth method to try is password

Do you have any idea to fix this problem?

Thank you in advance, Manfred

______________________________________________________________________________
Wie war die Telefonnummer von Hans? In Zukunft haben Sie alle Daten
- bei WEB.DE FreeMail! http://freemail.web.de/features/?mc=021134


--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: server refused our key
  2002-11-19  8:12 sshd: server refused our key Manfred Köhler
@ 2002-11-19  8:48 ` Max Bowsher
  0 siblings, 0 replies; 2+ messages in thread
From: Max Bowsher @ 2002-11-19  8:48 UTC (permalink / raw)
  To: Manfred Köhler, cygwin

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-19 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-19  8:12 sshd: server refused our key Manfred Köhler
2002-11-19  8:48 ` Max Bowsher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).