Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12211

Can't connect to Karaf Shell in Minion on Debian/Ubuntu

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.1.2
    • Fix Version/s: 24.1.3
    • Component/s: Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      OS: Debian 10
      Java: openjdk-11-jre installed as dependency from opennms-minion
    • Sprint:
      Horizon 2019 - July 31st, Horizon 2019 - August 7th

      Description

      Karaf shell is listening on 127.0.0.1:8201 but I can't connect. The ssh -vvv output looks like the following:

      root@minion:/usr/share/minion/bin# ssh -vvv admin@localhost -p 8201
      OpenSSH_7.9p1 Debian-10, OpenSSL 1.1.1c  28 May 2019
      debug1: Reading configuration data /etc/ssh/ssh_config
      debug1: /etc/ssh/ssh_config line 19: Applying options for *
      debug2: resolving "localhost" port 8201
      debug2: ssh_connect_direct
      debug1: Connecting to localhost [::1] port 8201.
      debug1: connect to address ::1 port 8201: Connection refused
      debug1: Connecting to localhost [127.0.0.1] port 8201.
      debug1: Connection established.
      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: identity file /root/.ssh/id_xmss type -1
      debug1: identity file /root/.ssh/id_xmss-cert type -1
      debug1: Local version string SSH-2.0-OpenSSH_7.9p1 Debian-10
      debug1: Remote protocol version 2.0, remote software version SSHD-UNKNOWN
      debug1: no match: SSHD-UNKNOWN
      debug2: fd 3 setting O_NONBLOCK
      debug1: Authenticating to localhost:8201 as 'admin'
      debug3: put_host_port: [localhost]:8201
      debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
      debug3: send packet: type 20
      debug1: SSH2_MSG_KEXINIT sent
      Connection reset by 127.0.0.1 port 8201
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                indigo Ronny Trommer
                Reporter:
                indigo Ronny Trommer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: