Re: Failed Password Error
From: Mark Olbert (mark_at_arcabama.com)
Date: 12/21/03
- Previous message: Mark Olbert: "Re: Failed Password Error"
- In reply to: Darren Tucker: "Re: Failed Password Error"
- Next in thread: Darren Tucker: "Re: Failed Password Error"
- Reply: Darren Tucker: "Re: Failed Password Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 20 Dec 2003 19:25:01 -0800
I'm afraid I'm a total loss when it comes to using gdb. When I try to follow your instructions, I
can telnet to port 2022, but whatever I type crashes sshd (presumably because I'm not entering the
proper protocol string) and typing bt results in gdb telling me there's no stack to trace. Sorry!
>It's possible that the PAM authentication thread is crashing for some
>reason. You could try running sshd under a debugger. Make sure you
>have UsePAM=yes, PasswordAuthentication=no and
>ChallengeResponseAuthentication=yes in sshd_config, then:
>
># gdb ./sshd
>(gdb) set args -ddd -p 2022 -o UsePrivilegeSeparation=no
>(gdb) set follow-fork child
>(gdb) run
>
>then connect to port 2022. If it returns to the gdb prompt, do "bt"
>to get a stack trace.
>
>What kind of system (ie OS) is this? I'd guess a Linux based on the
>location of the PAM file. Which PAM modules are you using?
Yes, it's Linux 2.4.20.
>
>BTW, the PAM authentication code in 3.7p1 was replaced and now does
>keyboard-interactive rather than password authentication.
Which may explain why 3.6.1p1 works. I've seen references to keyboard-interactive authentication on
the web, but I can't find an explanation of it in the docs. Is it possible that my problem is just
that I'm trying to do password authentication when I need to be doing keyboard-interactive, whatever
that is?
- Mark
- Previous message: Mark Olbert: "Re: Failed Password Error"
- In reply to: Darren Tucker: "Re: Failed Password Error"
- Next in thread: Darren Tucker: "Re: Failed Password Error"
- Reply: Darren Tucker: "Re: Failed Password Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|