-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Password authentication failing against OpenSSH_6.2 server #154
Comments
No, most modern versions of OpenSSH are similar enough that there shouldn't be a problem with compatibility.
This isn't all that uncommon really. Also, the
Yes. You can change |
Indeed that was the part I didn't understand. I expected Anyway,
I completely agree :) But my package needs to support all use cases. |
And just in case someone else stumbles on this problem I just found an explanation here: http://superuser.com/a/374234
|
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:
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 ontryKeyboard
it works, which I find very strange.*If I run the same script (with or without
tryKeyboard
) agains a server that runsSSH-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
The text was updated successfully, but these errors were encountered: