ssh2 client logging into sshd1 - SSH

This is a discussion on ssh2 client logging into sshd1 - SSH ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: ssh2 client logging into sshd1

  1. 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


  2. Re: ssh2 client logging into sshd1

    On Tue, 16 Jan 2007 08:16:54 -0800, traggatt wrote:

    > 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?
    >
    > [Traces deleted]


    Are you sure that the server is speaking SSHv1? The traces that you
    posted are SSHv2.

+ Reply to Thread