Re: Failed Password Error

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 12/21/03

  • Next message: Darren Tucker: "Re: Failed Password Error"
    Date: Sun, 21 Dec 2003 07:35:07 +0000 (UTC)
    
    

    In article <ie4auv0heg71m050alksqiu67n875vdcfp@4ax.com>,
    Mark Olbert <mark@arcabama.com> wrote:
    >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

    Try "ssh -p 2022 yourserver"

    >Yes, it's Linux 2.4.20.

    Which distribution and version? Which modules in your sshd PAM stack?

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

    Simplifying somewhat, ssh2 (and ssh1 for that matter) support multiple
    authentication schemes. Password authentication is a single exchange,
    where the username and password fields are fixed by the protocol, eg:
    client -> server: password authentication, user=myname, password=mypass123
    client <- server: authenticated=yes

    whereas keyboard-interactive (aka ChallengeResponse, aka Generic Message
    Exchange Authentication) is an exchange of one or more (more or less)
    arbitary messages, which collectively decide the success or otherwise
    of the authentication, eg:
    client -> server: challenge-response authentication
    client <- server: challenge="Password:"
    client -> server: response="mypass123"
    client <- server: challenge="Password expired, enter new one:"
    client -> server: response="newpass78"
    client <- server: challenge="Confirm new password:"
    client -> server: response="newpass78"
    client <- server: authenticated=yes

    The old code (<3.7p1) worked by assuming that the first prompt from PAM
    was a password prompt and deciding the authentication entirely based on
    the result of that. This was true most of the time but need not be,
    which is why the code was changed.

    For further info see:
    http://www.ietf.org/internet-drafts/draft-ietf-secsh-userauth-18.txt
    http://www.ietf.org/internet-drafts/draft-ietf-secsh-auth-kbdinteract-05.txt

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

    No, I don't think that's the problem (and if you set
    PasswordAuthentication=no on the server then it won't offer it).
    You can see which authentications are passed by using "ssh -v".

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
        Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: Darren Tucker: "Re: Failed Password Error"

    Relevant Pages

    • Re: WCF security advice (and clarification) needed
      ... You, the client, resolve the foo.mycompany.com hostname within your ... TCP/IP) with that ticket as the security token. ... There are two parties participating in a security scenario, the server ... HTTP supports other authentication ...
      (microsoft.public.dotnet.framework.webservices)
    • Re: Aironet 1200/Radius Help Needed
      ... I just fired up a W2003 Advanced Server so that I can take ... >> IAS servers (do I need a separate certificate for the secondary IAS ... >> of authentication since it involves just installing the certificate on ... >between the AP and the client. ...
      (microsoft.public.internet.radius)
    • Re: Windows Authentication, Single sign on and Active Directory
      ... service proxy client fails to connect due to authentication failure and then ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... The server is always in the domain. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Outlook -> remote exchange -> always wants a password
      ... I have my server set to use Integrated Windows authentication over SSL. ... almost certainly "break" your existing users if the client setup does not ... Close out of these configuration dialogs, ...
      (microsoft.public.windows.server.sbs)
    • Re: Aironet 1200/Radius Help Needed
      ... I just fired up a W2003 Advanced Server so that I can take ... > IAS servers (do I need a separate certificate for the secondary IAS ... > of authentication since it involves just installing the certificate on ... between the AP and the client. ...
      (microsoft.public.internet.radius)