Skip to content

Password authentication failing against OpenSSH_6.2 server #154

@ahultgren

Description

@ahultgren

First of all I'm not sure if this error is due to my lack of understanding of ssh or a bug in node-ssh2. Maybe this is something that the server decides?

Anyway, I've set up "Sharing" for a separate account on my Mac to test my modules. It runs the following OpenSSH version:

ssh -v
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011

which I guess is standard on OS X 10.9(.3). If I run the script attached below it emits: Error: Authentication failure. Available authentication methods: publickey,keyboard-interactive. But if I turn on tryKeyboard it works, which I find very strange.*

If I run the same script (with or without tryKeyboard) agains a server that runs SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 it works.

I see that you develop against OpenSSH 6.6; is that the only version you plan to support?

To reproduce: https://gist.github.com/ahultgren/803729f9eca906334134

  • Which is where my knowledge fails me. Is this simply something the server can control?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions