SSH_MSG_USERAUTH_FAILURE - for every connection

Brock Noland <[email protected]>
Newsgroups gmane.comp.java.sshtools.user
Message-ID <[email protected]>
I have complied the sstools packages and the examples. I am testing
out the examples, but I am having a wierd problem. The process dies
right after I type in my username with the SSH_MSG_USERAUTH_FAILURE
message. I have tried a variety boxes included SuSE, RedHat, Gentoo,
AIX, Solaris, and MacOS.  I am using jdk1.5.0_03 but have tried it
with jre1.5.0_03 and jre1.5.0_02. All versions give me the same error.

I have verifed I can connect fine to all of these boxes with Putty.

Example:
C:\java\test>java -cp
"c:\java\jars\ant.jar;c:\java\jars\xmlParserAPIs.jar;c:\java\jars\xercesImpl.jar;c:\java
\jars\commons-logging.jar;NovusSSHAutomator.jar;." KBIConnect
Host? neon.reshalls.umn.edu
The host neon.reshalls.umn.edu,128.101.166.141 is currently unknown to
the system
The host key fingerprint is: 1024: e b9 e3 a4 87 4a ef b7 c6 69 1b 1e 4e 8d 12 4
Do you want to allow this host key? [Yes|No|Always]: Always
Username? brock

The tail portion of the logfile:
FINE: Determine Algorithm
Jun 11, 2005 9:09:11 PM
com.sshtools.j2ssh.transport.TransportProtocolCommon
determineAlgorithm
FINE: Client Algorithms: [hmac-sha1, hmac-md5-96, hmac-md5, hmac-sha1-96]
Jun 11, 2005 9:09:11 PM
com.sshtools.j2ssh.transport.TransportProtocolCommon
determineAlgorithm
FINE: Server Algorithms: [hmac-md5, hmac-sha1, hmac-ripemd160,
[email protected], hmac-sha1-96, hmac-
md5-96]
Jun 11, 2005 9:09:11 PM
com.sshtools.j2ssh.transport.TransportProtocolCommon
determineAlgorithm
FINE: Returning hmac-sha1
Jun 11, 2005 9:09:11 PM
com.sshtools.j2ssh.transport.TransportProtocolCommon sendMessage
INFO: Sending SSH_MSG_SERVICE_REQUEST
Jun 11, 2005 9:09:11 PM
com.sshtools.j2ssh.transport.TransportProtocolCommon
completeKeyExchange
FINE: Sending queued messages
Jun 11, 2005 9:09:11 PM
com.sshtools.j2ssh.transport.TransportProtocolCommon processMessages
INFO: Received SSH_MSG_SERVICE_ACCEPT
Jun 11, 2005 9:09:13 PM
com.sshtools.j2ssh.transport.TransportProtocolCommon sendMessage
INFO: Sending SSH_MSG_USERAUTH_REQUEST
Jun 11, 2005 9:09:13 PM
com.sshtools.j2ssh.transport.TransportProtocolCommon processMessages
INFO: Received SSH_MSG_USERAUTH_FAILURE

The logs from the server:
Jun 11 21:09:04 neon xinetd[391]: service ssh, IPV6_ADDRFORM
setsockopt() failed: Protocol not available (errno = 42)
Jun 11 21:09:04 neon xinetd[391]: START: ssh pid=2447 from=65.27.105.166
Jun 11 21:09:09 neon sshd[2447]: reverse mapping checking getaddrinfo
for cpe-65-27-105-166.mn.res.rr.com failed - POSSIBLE BREAKIN ATTEMPT!

Any ideas?

Brock


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.