Gmane
Favicon Gravatar
From: hannes wallnoefer <hannes <at> helma.at>
Subject: Re: Password authentication fails with openssh 3.7 (SuSE 9.0)
Newsgroups: gmane.comp.java.sshtools.user
Date: 2004-01-16 15:24:07 GMT (5 years, 24 weeks, 1 day, 21 hours and 55 minutes ago)
I started the ssh daemon with a debug flag to get some more output about 
what's going on. I have no idea wheather it's useful, however here it is:

Connection from ::ffff:192.168.0.235 port 33410
debug1: Client protocol version 2.0; client software version 
http://www.sshtools.com J2SSH [CLIENT]
debug1: no match: http://www.sshtools.com J2SSH [CLIENT]
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_3.7.1p2
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server blowfish-cbc hmac-sha1 none
debug1: kex: server->client blowfish-cbc hmac-sha1 none
debug1: expecting SSH2_MSG_KEXDH_INIT
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug1: userauth-request for user hannes service ssh-connection method 
password
debug1: attempt 0 failures 0
debug1: PAM: initializing for "hannes"
debug1: PAM: setting PAM_RHOST to "192.168.0.235"
debug1: PAM: setting PAM_TTY to "ssh"
Failed password for hannes from ::ffff:192.168.0.235 port 33410 ssh2

Again, the password used is definitely right and doesn't contain any 
"funny" characters.

hannes

Hannes Wallnoefer wrote:

> Hi,
>
> I am successfully using the j2ssh client against older versions of 
> openssh such as 2.9, but I always get back an 
> AuthenticationProtocolState.FAILED when trying to do a password 
> authentication against the openssh 3.7.1p2 daemon from the SuSE 9.0 
> distribution. The username/password I'm using are definitely right, I 
> can authenticate alright to the same host using /usr/bin/ssh.
>
> The server log just says:
> Jan 14 13:06:33 vaio sshd[4706]: Failed password for hannes from 
> ::ffff:192.168.0.235 port 33635 ssh2
>
> The client log:
> [2004/01/14 13:00:11] Sending SSH_MSG_SERVICE_REQUEST
> [2004/01/14 13:00:11] Sending queued messages
> [2004/01/14 13:00:11] Received SSH_MSG_SERVICE_ACCEPT
> [2004/01/14 13:00:11] Sending SSH_MSG_USERAUTH_REQUEST
> [2004/01/14 13:00:11] Received SSH_MSG_USERAUTH_FAILURE
>
> Any idea on what might be wrong, or what I might do to find out more?
>
> Hannes
> _______________________________________________
> Sshtools-users mailing list
> Sshtools-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sshtools-users

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn