ssh2 client logging into sshd1



Hi folks

I'm having an issue using RSA and DSA keys to log into an sshd1 server
with ssh2 client. It works fine if I use keyboard authentication but
for some reason the server won't recognise the key. I've put the debug
below.

Any suggestions?

Thanks in advance
Tim.


OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
debug1: Connecting to bsun42 [148.253.134.3] port 22.
debug1: Connection established.
debug1: identity file /home/x925819/.ssh/identity type -1
debug1: identity file /home/x925819/.ssh/id_rsa type 1
debug1: identity file /home/x925819/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version
Sun_SSH_1.0.1
debug1: match: Sun_SSH_1.0.1 pat Sun_SSH_1.0*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.5
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host 'bsun42' is known and matches the RSA host key.
debug1: Found key in /home/x925819/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/x925819/.ssh/identity
debug1: Offering public key: /home/x925819/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: /home/x925819/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: password

.



Relevant Pages

  • Re: SSH from windows to linux using public key authentication
    ... Linux Linux wrote: ... public key authentication. ... I have copied exact same public key to my Prolinux and it's not working. ... debug1: Next authentication method: publickey ...
    (RedHat)
  • Re: ssh client problem
    ... authentication method he does not want to use. ... >debug1: Connection established. ... >debug2: we did not send a packet, ... we sent a password packet, ...
    (comp.os.linux.misc)
  • Re: pubkey authentication problem
    ... The RSA client key generated by F-Secure ... But the key still doesn't work for authentication. ... debug1: done: KEX2. ... userauth-request for user schmidt service ssh-connection ...
    (comp.security.ssh)
  • Re: SSH from windows to linux using public key authentication
    ... Authentication refused: bad ownership or modes for directory etc... ... Linux Linux wrote: ... I have copied exact same public key to my Prolinux and it's not working. ... debug1: Next authentication method: publickey ...
    (RedHat)
  • SSH and LDAP
    ... We are installing an LDAP server for AIX and Solaris login ... "Too many authentication failures for " ... debug1: ssh_rsa_verify: signature correct ... debug3: preferred publickey,keyboard-interactive,password ...
    (comp.unix.aix)