d / ganymed-ssh-2

Automatically exported from code.google.com/p/ganymed-ssh-2
Other
0 stars 0 forks source link

SSH connection establishment fails #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I am trying to setup a SSH connection to SUN OS machine using the API 
connection.authenticateWithPassword.

What is the expected output? What do you see instead?
The expected output is that the SSH connection setup should go fine. Instead I 
am getting the below exception

The connection setup fails with below exception
java.io.IOException: Password authentication failed.
        at ch.ethz.ssh2.auth.AuthenticationManager.authenticatePassword(AuthenticationManager.java:336)
        at ch.ethz.ssh2.Connection.authenticateWithPassword(Connection.java:322)

What version of the product are you using? On what operating system?
ganymed version is ganymed-ssh2-build210.zip. The problem is occurring on the 
machine with SUN OS

Original issue reported on code.google.com by patgar.s...@gmail.com on 13 Dec 2013 at 9:40

GoogleCodeExporter commented 8 years ago
There may be dozens of reasons why password based authentication failes. E.g., 
does your server support password authentication at all? Often, only 
keyboard-interactive authentication is enabled. Start your ssh server in debug 
mode "sshd -d -p 8888" and connect to port 8888. Post the debug output.

Original comment by cleondris on 10 Feb 2014 at 11:36