Re: Failed Password Error

From: Mark Olbert (mark_at_arcabama.com)
Date: 12/21/03

  • Next message: Neil W Rickert: "PAM authentication on solaris (with openssh-3.7.1p2) is not quite right"
    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


  • Next message: Neil W Rickert: "PAM authentication on solaris (with openssh-3.7.1p2) is not quite right"

    Relevant Pages

    • Re: Development / Debugging tools - advice needed.
      ... > command to make gdb show stuff in ... comparison to Linux as an OS. ... that the reason that Turbo Debugger ... control of the hardware away from it, ...
      (comp.os.linux.development.system)
    • Re: Gentoo on Sun Ultra 5
      ... I have it working now (and the information I read on several Linux ... > just crashes the system seems to be out of date, ... I have really quite a lot of systems with GCC and no GDB, ...
      (uk.comp.os.linux)
    • Re: Confused...
      ... And for reasons I dont understand, Linux is not dropping a core file. ... GNU gdb Red Hat Linux ... int Fgets(), qsort; ... struct new *next; ...
      (Fedora)
    • Re: Confused...
      ... And for reasons I dont understand, Linux is not dropping a core file. ... GNU gdb Red Hat Linux ... int Fgets(), qsort; ... struct new *next; ...
      (Fedora)
    • Re: Administrivia: List Announcement
      ... It's very interesting that I run the same program on a Linux and on a AIX ... Segmentation fault ... GNU gdb Red Hat Linux ... Reading symbols from /lib/i686/libc.so.6...done. ...
      (Vuln-Dev)