Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1819

key_verify failed for server_host_key

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      Performed stop/start on a controller:

      /opt/odl/bin/stop
      /opt/odl/bin/start

      After that SSH connection fails:

      # ssh -p 8101 -o StrictHostKeyChecking=no karaf@localhost -v
      OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
      debug1: Reading configuration data /etc/ssh/ssh_config
      debug1: /etc/ssh/ssh_config line 56: Applying options for *
      debug1: Connecting to localhost [127.0.0.1] port 8101.
      debug1: Connection established.
      debug1: permanently_set_uid: 0/0
      debug1: identity file /root/.ssh/id_rsa type 1
      debug1: identity file /root/.ssh/id_rsa-cert type -1
      debug1: identity file /root/.ssh/id_dsa type -1
      debug1: identity file /root/.ssh/id_dsa-cert type -1
      debug1: identity file /root/.ssh/id_ecdsa type -1
      debug1: identity file /root/.ssh/id_ecdsa-cert type -1
      debug1: identity file /root/.ssh/id_ed25519 type -1
      debug1: identity file /root/.ssh/id_ed25519-cert type -1
      debug1: Enabling compatibility mode for protocol 2.0
      debug1: Local version string SSH-2.0-OpenSSH_6.6.1
      debug1: Remote protocol version 2.0, remote software version SSHD-CORE-0.14.0
      debug1: no match: SSHD-CORE-0.14.0
      debug1: SSH2_MSG_KEXINIT sent
      debug1: SSH2_MSG_KEXINIT received
      debug1: kex: server->client aes128-ctr hmac-sha1 none
      debug1: kex: client->server aes128-ctr hmac-sha1 none
      debug1: kex: ecdh-sha2-nistp256 need=20 dh_need=20
      debug1: kex: ecdh-sha2-nistp256 need=20 dh_need=20
      debug1: sending SSH2_MSG_KEX_ECDH_INIT
      debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
      debug1: Server host key: DSA 84:ce:d9:95:e1:ea:24:b9:1f:5f:3e:fd:3b:93:44:c6
      debug1: Host '[localhost]:8101' is known and matches the DSA host key.
      debug1: Found key in /root/.ssh/known_hosts:11
      debug1: ssh_dss_verify: signature incorrect
      key_verify failed for server_host_key
      

      To fix it, I have to delete "host.key" and restart the controller again.

      rm -rf /opt/odl/etc/host.key
      /opt/odl/bin/stop
      /opt/odl/bin/start
      

      Controller: nitrogen

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            greenpau Paul Greenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: