sshd on 5.4-STABLE broken!?

Holger Kipp at intserv.int1.b.intern
Wed May 18 08:39:24 PDT 2005

On Wed, May 18, 2005 at 11:03:08AM -0400, Alec Berryman wrote:
> Kipp Holger on 2005-05-18 14:19:53 +0200:
> > - can I provide any additional data?
> Are you in a position to restart sshd with multiple debug flags and
> have it spew to the console? (see sshd man page, options '-D' and
> '-d').  That, and connecting with ssh's verbose flag (1-3 '-v's), will
> probably give you a good starting point.  From what you said in your
> email, I don't believe you tried that.

True, I didn't. Here it goes:

I am using 'sshd -D -d -d -d -p 3333' as server-process and connect
with 'ssh -v -v -v -p 3333 blubber at server1'

In this case I end up with two 'not_connected' processes:

1927 p9 I+  0:00,05 sshd: hk [priv] (sshd)
1930 p9 I+  0:00,00 sshd: hk [pam] (sshd)

that both do not time out.

Debugging of sshd after pressing ctrl-c is:

debug3: mm_sshpam_query: pam_query returned 0
Postponed keyboard-interactive for hk from <server1> port 53507 ssh2
Connection closed by <server1>
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering
debug1: do_cleanup
debug1: PAM: cleanup

and then nothing. Even after waiting for 8 minutes. Connecting again is
of course not possible.

Is this of any help? I can produce the complete debugging information
if that is of interest. 
Pressing return three times instead of ctrl-c
if password is requested, produces an additional
debug3: PAM: sshpam_thread_cleanup entering
and exits sshd

Holger Kipp

More information about the freebsd-stable mailing list