Re: Password authentication fails: SSH secure shell to openssh server

From: Darren Tucker (dtucker_at_zip.com.au)
Date: 08/02/05

  • Next message: Mike Friedman: "Re: Password authentication fails: SSH secure shell to openssh server"
    Date: Wed, 03 Aug 2005 01:23:44 +1000
    To: Andrew Muller <mullera@mcmaster.ca>
    
    

    Andrew Muller wrote:
    > Problem: Can connect to OpenSSH server from openSSH client but not from
    > SSH Secure Shell Client
    >
    > I am running OpenSSH_3.8.1p1_FreeBSD_20040419 on my desktop
    > (pc-mullera). I rely on passwords because I've never been able to
    > figure out how to do the other authentication methods. I can ssh to the
    > desktop from my laptop under cygwin (openSSH_4.1p1) but not from the
    > laptop Secure Shell Client under XP (SSH Secure Schell 3.0.0) nor from a
    > linux machine running SSH Secure Shell 3.1.2 under mandrake 9. When I
    > fail to connect I get shut out with "no further authentication methods
    > available" before I have even been asked for my password. I suspect an
    > incompatibility between openSSH's keyboard-interactive method and Secure
    > SSHs password method.

    It's not an incompatibility, it's just that your client either does not
    support keyboard-interactive or has its support disabled and the server
    does not have SSH password authentication enabled.

    On an OpenSSH client, this is controlled by the
    "PreferredAuthentications" setting. Check the documentation for your
    client for an equivalent and enable it if it has it. This is the
    preferred solution.

    Alternatively, you could also set "PasswordAuthentication yes" in the
    server's sshd_config. On a vanilla OpenSSH 3.8.1p1 this will prevent
    PAM from being used for the authentication, I'm not sure if this is the
    case for the FreeBSD version.

    -- 
    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: Mike Friedman: "Re: Password authentication fails: SSH secure shell to openssh server"

    Relevant Pages

    • Multiple issues with Mac OS X AFP client
      ... Multiple issues with Mac OS X AFP client ... connections to an Apple file server over SSH - a commendable effort to ... .GlobalPreferences.plist (the AFP client does not follow Apple's ...
      (Bugtraq)
    • [Full-Disclosure] Multiple issues with Mac OS X AFP client
      ... Multiple issues with Mac OS X AFP client ... connections to an Apple file server over SSH - a commendable effort to ... .GlobalPreferences.plist (the AFP client does not follow Apple's ...
      (Full-Disclosure)
    • Multiple issues with Mac OS X AFP client
      ... Multiple issues with Mac OS X AFP client ... connections to an Apple file server over SSH - a commendable effort to ... .GlobalPreferences.plist (the AFP client does not follow Apple's ...
      (Full-Disclosure)
    • Re: Explanation of SSH
      ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
      (comp.security.ssh)
    • Re: Remote X over rsh
      ... all I'm doing is running X and ssh. ... the weak machine is the one where on he wishes to display, ... Possibly the "my client" confused the issue; ... just use X without ssh forwarding. ...
      (comp.os.linux.x)