Key Exchange Failed (error message)

From: Clary, Steve (Steve_Clary@URMC.Rochester.edu)
Date: 02/27/03

  • Next message: Jason P Holland: "Hostbased Authentication Question"
    From: "Clary, Steve" <Steve_Clary@URMC.Rochester.edu>
    To: "'secureshell@securityfocus.com'" <secureshell@securityfocus.com>
    Date: Thu, 27 Feb 2003 12:46:41 -0500
    
    

    I am running the SSH Secure Shell (TM) client and trying to connect to my
    Solaris 9 box (Which runs Sun_ssh_1.0) and I get the message
             'Server responded "Key Exchange Failed.". Key exchange with the
    remote host failed. This can happen for example if the remote computer does
    not support the selected algorithms.'

    When I use PuTTY, I have no problems.

    Any thoughts?

    Debug output below: (This line is where it seems to stop:
    [SshProtoTrKex/trkex.c:702: Signature didn't match.])

    debug: SshAppCommon/sshappcommon.c:133: Allocating global SshRegex context.
    debug: SshConfig/sshconfig.c:2232: Unable to open C:/Documents and
    Settings/sclary/Application Data/SSH/ssh2_config
    debug: Ssh2/ssh2.c:1398: remote host = "mdl.miner.rochester.edu"
    debug: Connecting to mdl.miner.rochester.edu, port 22... (SOCKS not used)
    debug: Ssh2/ssh2.c:1976: Entering event loop.
    debug: Ssh2Client/sshclient.c:1403: Creating transport protocol.
    debug: Ssh2Transport/trcommon.c:2269: Allocating cipher: name: none,
    key_len: 16.
    debug: Ssh2Transport/trcommon.c:2269: Allocating cipher: name: none,
    key_len: 16.
    debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "publickey" to usable
    methods.
    debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "password" to usable
    methods.
    debug: Ssh2Client/sshclient.c:1444: Creating userauth protocol.
    debug: client supports 2 auth methods: 'publickey,password'
    debug: Ssh2Common/sshcommon.c:560: local ip = 128.151.23.165, local port =
    3879
    debug: Ssh2Common/sshcommon.c:562: remote ip = 128.151.23.2, remote port =
    22
    debug: Ssh2Common/sshcommon.c:397: remote hostname is "128.151.23.2".
    debug: SshConnection/sshconn.c:1930: Wrapping...
    debug: Remote version: SSH-2.0-Sun_SSH_1.0
    debug: SshProtoTrKex/trkex.c:449: Making first key exchange packet.
    debug: Ssh2Transport/trcommon.c:1461: Computing algorithms from key
    exchange.
    debug: Ssh2Transport/trcommon.c:1648: lang s to c:
    `C,geo,lcttab,iso_8859_1', lang c to s: `C,geo,lcttab,iso_8859_1'
    debug: Ssh2Transport/trcommon.c:1714: c_to_s: cipher 3des-cbc, mac
    hmac-sha1, compression none
    debug: Ssh2Transport/trcommon.c:1717: s_to_c: cipher 3des-cbc, mac
    hmac-sha1, compression none
    debug: SshProtoTrKex/trkex.c:449: Making first key exchange packet.
    debug: Remote host key found from database.
    debug: SshProtoTrKex/trkex.c:702: Signature didn't match.
    debug: Ssh2Transport/trcommon.c:922: Disconnecting: reason code: 3 message:
    'Key exchange failed.'
    debug: Ssh2Transport/trcommon.c:922: Disconnecting: reason code: 10 message:
    'Connection lost on output.'
    debug: Ssh2Transport/trcommon.c:912: Already disconnected.
    debug: Ssh2Common/sshcommon.c:155: DISCONNECT received: Connection lost on
    output.
    warning: Authentication failed.
    debug: Ssh2/ssh2.c:127: locally_generated = TRUE
    Disconnected; connection lost (Connection lost on output.).
    debug: Ssh2Client/sshclient.c:1478: Destroying client.
    debug: SshConfig/sshconfig.c:537: Freeing pki. (host_pki != NULL, user_pki =
    NULL)
    debug: SshCertDB/cert-db.c:712: memory left 0
    debug: SshConnection/sshconn.c:1982: Destroying SshConn object.
    debug: Ssh2Transport/trcommon.c:567: Destroying SshTransportCommon object.
    debug: SshAuthMethodClient/sshauthmethodc.c:89: Calling notification
    callback.
    debug: SshConfig/sshconfig.c:537: Freeing pki. (host_pki = NULL, user_pki =
    NULL)
    debug: Ssh2Client/sshclient.c:1540: Destroying client completed.
    debug: SshAuthMethodClient/sshauthmethodc.c:89: Destroying authentication
    method array.
    debug: SshAppCommon/sshappcommon.c:146: Freeing global SshRegex context.
    debug: SshConfig/sshconfig.c:537: Freeing pki. (host_pki = NULL, user_pki =
    NULL)

    Steve Clary
    Network Manager
    Health Science Libraries and Technologies
    (585) 275-3286



    Relevant Pages

    • Password authentication fails: SSH secure shell to openssh server
      ... Can connect to OpenSSH server from openSSH client but not from ... SSH Secure Shell Client ... debug: Ssh2/ssh2.c:2121/main: Entering event loop. ...
      (SSH)
    • Re: hostbased auth between commercial and OpenSSH
      ... The server just rejects hostbased from OpenSSH client saying method is ... Client side debug snippet (I've got hostbased as only ... client user 'myusername', server user 'myusername', ...
      (comp.security.ssh)
    • Re: Rsync problem - still unsolved
      ... My client shows my message from the 22.2.06 ... In our Institut i was able to use rsync with ssh for backup my data from PC to linux server. ... I'm still able to get an ssh2 connection (only with keyboard-interactive authentication which is ok for me). ... debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "keyboard-interactive" to ...
      (comp.security.ssh)
    • Re: Problem connecting to SSH, OpenVMS7.3-2, HP TCP/IP v5.4 patched
      ... debug: ... connection lost. ... client on the same node as the server. ... [No surprise, as I allow, but don't use, host-based authentication.] ...
      (comp.os.vms)
    • Cannot load symbols or hit breakpoints on remote machine. Help!
      ... I'm trying to debug an ActiveX control running within a third-party ... on the machine, and likewise, I cannot install the client application on my ... option in the Remote Debug connection type, ...
      (microsoft.public.vsnet.debugging)