Failure to authenticate



SSH server runs OpenSSH 3.5 on Solaris 8
SSH nclient runs OpenSSH 4.2 on HP-UX 11.23

Even after I put the public key of the client in $HOME/.ssh/
authorized_keys in the server and made sure the permissions where 700
or less, I still get asked for the password. DNS doesn't seem to be an
issue. Why is this happening?


# ssh -v -v -v bava

debug1: Host 'bava' is known and matches the DSA host key.
debug1: Found key in /home/user1/.ssh/known_hosts:1
debug2: bits set: 506/1024
debug1: ssh_dss_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/user1/.ssh/id_rsa (00000000)
debug2: key: /home/user1/.ssh/id_dsa (4004e8e0)
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user1/.ssh/id_rsa
debug3: no such identity: /home/user1/.ssh/id_rsa
debug1: Offering public key: /home/user1/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug2: we did not send a packet, disable method
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
user1@bava's password:

.



Relevant Pages