Good Afternoon,

I recently built Secure Shell 2.3.0 (non-commercial version) on a 
on sparc-sun-solaris2.6 platform.  I then installed this software
on a machine running sparc-sun-solaris2.7.

When I try to use ssh, I receive the error:

48:houser@balrog(cachefs)==> ssh -l occhelp balrog
occhelp's password: 
occhelp's password: 
occhelp's password: 
warning: Authentication failed.
Disconnected; no more authentication methods available (No further
authentication methods available.).

I know I am entering the correct password for this account.

I have check my DNS server to make sure IP addresses are correct.
I have checked my nsswitch.conf file and I run off nis+ maps
before the DNS.

I also note that for my password file, I run off local files first
before nis+

In my sshd2_config file, RequireReverseMapping is indeed set to "no".

The funny thing is that for my account (the sysadmin) ssh works the 
first time and allows access.  For other users it does not.  During
my debugging process, I have noticed that eventually it will 
authenticate another users password and allow them access.  However, 
sometimes this occurs when no changes have been made to the system or ssh.

This problem does not seem to be workstation/user related.  It works
for some users on some workstations, and other users on others.

I am running NIS+ and believe that this problem may be an issue
between NIS+ and ssh.  When I add the user locally to the password
file on a workstation, ssh works the fist time (as expected).  I 
think the problem may be that since the user's home directory isn't 
initially mounted (we use automounting) until the user actually logs 
into the system.  Perhaps ssh won't write the key unless it sees the 
directory.

When I do a "ssh -v" to see more details, I obtain:

*********************************************************************
55:houser@balrog(ssh2)==> ssh -v -l occhelp balrog
debug: hostname is 'balrog'.
debug: Unable to open /home/houser/.ssh2/ssh2_config
debug: connecting to balrog...
debug: ssh_client_wrap: creating transport protocol
debug:
SshAuthMethodClient/sshauthmethodc.c:105/ssh_client_authentication_initialize: Added 
"publickey" to usable methods
debug: SshAuthMethodClient/sshauthmethodc.c:105/ssh_client_authentication_initialize:
Added "password" to usable methods.
debug: Ssh2Client/sshclient.c:1104/ssh_client_wrap: creating userauth protocol
debug: Ssh2Common/sshcommon.c:487/ssh_common_wrap: local ip = 131.142.116.32, local
port = 33143
debug: Ssh2Common/sshcommon.c:489/ssh_common_wrap: remote ip = 131.142.116.32, remote
port = 22
debug: SshConnection/sshconn.c:1853/ssh_conn_wrap: Wrapping...
debug: entering event loop
debug: Ssh2Transport/trcommon.c:593/ssh_tr_input_version: Remote version:
SSH-1.99-2.3.0 SSH Secure Shell (non-commercial)
debug: Ssh2Transport/trcommon.c:1068/ssh_tr_negotiate: c_to_s: cipher 3des-cbc, mac
hmac-sha1, compression none
debug: Ssh2Transport/trcommon.c:1071/ssh_tr_negotiate: s_to_c: cipher 3des-cbc, mac
hmac-sha1, compression none
debug: Ssh2Client/sshclient.c:399/keycheck_key_match: Host key found from database.
debug: Ssh2Common/sshcommon.c:297/ssh_common_special: Received SSH_CROSS_STARTUP
packet from connection protocol.
debug: Ssh2Common/sshcommon.c:347/ssh_common_special: Received SSH_CROSS_ALGORITHMS
packet from connection protocol.
debug: Unable to open /home/houser/.ssh2/identification
debug: Ssh2AuthClient/sshauthc.c:309/ssh_authc_completion_proc: Method 'publickey'
disabled.
debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd: Starting
password query...
occhelp's password: 
debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd: Starting
password query...
occhelp's password: 
debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd: Starting
password query...
occhelp's password: 
debug: Ssh2Common/sshcommon.c:132/ssh_common_disconnect: DISCONNECT received: No
further authentication methods available.
warning: Authentication failed.
debug: Ssh2/ssh2.c:78/client_disconnect: locally_generated = TRUE
Disconnected; no more authentication methods available (No further authentication
methods available.).
debug: uninitializing event loop
*********************************************************************


NOTE:  I have also built  Secure Shell 2.4.0 (non-commercial version) on a
on sparc-sun-solaris2.7 platform and tried to run it on a 2.7 platform.  The
results were the same.

I have looked through the SSH archives and searched on "authentication
error" but have found nothing that seemed to solve my problem.  Any help 
would be grately appreciated.


Sincerely,

Janet Houser
Systems Management/Research Scientist
Chandra X-ray Control Center
Cambridge, MA  02138

Reply via email to