SUMMARY: Sun SSH autentication issue..

From: Bhavesh Shah <shah.bhavesh_at_gene.com>
Date: Wed Oct 18 2006 - 15:12:02 EDT
Thanks to all for their reply and suggetions.
I found the problem with authorized_keys file where lines were messed up 
for one of the host which caused this problem. I removed those lines and 
its working fine now.
Thanks again for all your help.

My originla post was:

>> I am trying to ssh from one Solaris 9 box to another and am getting 
>> an error "connection closed". I ran the remote server is debug mode 
>> and got hte following dump. I tried to login using windows ssh client 
>> and was able to login successfully but from within ssh from one Sun 
>> box i get connection closed error.
>> Any help is greatly appreciated. I did googling but didn't get solution.
>> TIA
>> shahb
>>
>>
>> debug1: sshd version Sun_SSH_1.0.1
>> debug1: Bad RSA1 key file /etc/ssh/ssh_host_rsa_key.
>> debug1: read SSH2 private key done: name rsa w/o comment success 1
>> debug1: load_private_key_autodetect: type 1 RSA
>> debug1: Bad RSA1 key file /etc/ssh/ssh_host_dsa_key.
>> debug1: read SSH2 private key done: name dsa w/o comment success 1
>> debug1: load_private_key_autodetect: type 2 DSA
>> debug1: Bind to port 22 on ::.
>> Server listening on :: port 22.
>> debug1: Server will not fork when running in debugging mode.
>> Connection from 128.137.28.15 port 46006
>> debug1: Client protocol version 2.0; client software version 
>> Sun_SSH_1.0.1
>> debug1: match: Sun_SSH_1.0.1 pat ^Sun_SSH_1\.0
>> Enabling compatibility mode for protocol 2.0
>> debug1: Local version string SSH-2.0-Sun_SSH_1.0.1
>> debug1: Rhosts Authentication disabled, originating port not trusted.
>> debug1: list_hostkey_types: ssh-rsa,ssh-dss
>> debug1: sent kexinit: diffie-hellman-group1-sha1
>> debug1: sent kexinit: ssh-rsa,ssh-dss
>> debug1: sent kexinit: aes128-cbc,blowfish-cbc,3des-cbc
>> debug1: sent kexinit: aes128-cbc,blowfish-cbc,3des-cbc
>> debug1: sent kexinit: hmac-sha1,hmac-md5
>> debug1: sent kexinit: hmac-sha1,hmac-md5
>> debug1: sent kexinit: none,zlib
>> debug1: sent kexinit: none,zlib
>> debug1: sent kexinit: 
>> ,geo,lcttab,iso_8859_15,iso_8859_1,en_CA,en_CA.ISO8859-1,en_US,en_US.ISO8859-1,en_US.ISO8859-15,en_US.ISO8859-15@euro,es,es_MX,es_MX.ISO8859-1,fr,fr_CA,fr_CA.ISO8859-1 
>>
>> debug1: sent kexinit: 
>> ,geo,lcttab,iso_8859_15,iso_8859_1,en_CA,en_CA.ISO8859-1,en_US,en_US.ISO8859-1,en_US.ISO8859-15,en_US.ISO8859-15@euro,es,es_MX,es_MX.ISO8859-1,fr,fr_CA,fr_CA.ISO8859-1 
>>
>> debug1: send KEXINIT
>> debug1: done
>> debug1: wait KEXINIT
>> debug1: got kexinit: diffie-hellman-group1-sha1
>> debug1: got kexinit: ssh-rsa,ssh-dss
>> debug1: got kexinit: aes128-cbc,blowfish-cbc,3des-cbc,rijndael128-cbc
>> debug1: got kexinit: aes128-cbc,blowfish-cbc,3des-cbc,rijndael128-cbc
>> debug1: got kexinit: hmac-sha1,hmac-md5
>> debug1: got kexinit: hmac-sha1,hmac-md5
>> debug1: got kexinit: none
>> debug1: got kexinit: none
>> debug1: got kexinit:
>> debug1: got kexinit:
>> debug1: first kex follow: 0
>> debug1: reserved: 0
>> debug1: done
>> debug1: kex: client->server unable to decide common locale
>> debug1: kex: client->server aes128-cbc hmac-sha1 none
>> debug1: kex: server->client unable to decide common locale
>> debug1: kex: server->client aes128-cbc hmac-sha1 none
>> debug1: bits set: 517/1024
>> debug1: Wait SSH2_MSG_KEXDH_INIT.
>> debug1: bits set: 526/1024
>> debug1: send SSH2_MSG_NEWKEYS.
>> debug1: done: send SSH2_MSG_NEWKEYS.
>> debug1: Wait SSH2_MSG_NEWKEYS.
>> debug1: GOT SSH2_MSG_NEWKEYS.
>> debug1: done: KEX2.
>> debug1: options.max_auth_tries = 6
>> debug1: userauth-request for user smadmin service ssh-connection 
>> method none
>> debug1: attempt 0 failures 0
>> debug1: Starting up PAM with username "smadmin"
>> debug1: PAM setting rhost to "mailhost7b.gene.com"
>> debug1: PAM Password authentication for "smadmin" failed[9]: 
>> Authentication failed
>> Failed none for smadmin from 128.137.28.15 port 46006 ssh2
>> debug1: options.max_auth_tries = 6
>> debug1: userauth-request for user smadmin service ssh-connection 
>> method publickey
>> debug1: attempt 1 failures 1
>> buffer_get: trying to get more bytes than in buffer
>> debug1: Calling cleanup 0x299a0(0x0)
>> debug1: Calling cleanup 0x3e718(0x0)
>> _______________________________________________
>> sunmanagers mailing list
>> sunmanagers@sunmanagers.org
>> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Oct 18 15:12:42 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:02 EST