Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10512

In Fuse Karaf, etc/key.properties admin role is missing the 'ssh' role by default.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: fuse-7.2
    • Fix Version/s: fuse-7.3
    • Component/s: Karaf
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Try to setup karaf shell login with publickey authentication.

      1. in your etc/keys.properties. Here is how I set it.
      admin = <contents in id_rsa.pub>,g:admingroup
      g\:admingroup = group,admin,manager,viewer,systembundles

      2. Run the client
      $ bin/client -a 8101 -h localhost -u admin -k ~/.ssh/id_rsa

      client: JAVA_HOME not set; results may vary
      Logging in as admin
      Password:
      Password:

      Show
      Try to setup karaf shell login with publickey authentication. 1. in your etc/keys.properties. Here is how I set it. admin = <contents in id_rsa.pub>, g :admingroup g \:admingroup = group,admin,manager,viewer,systembundles 2. Run the client $ bin/client -a 8101 -h localhost -u admin -k ~/.ssh/id_rsa client: JAVA_HOME not set; results may vary Logging in as admin Password: Password:
    • Estimated Difficulty:
      Low

      Description

      When we try out the public key authentication with karaf shell login. We follow the documentation

      https://access.redhat.com/documentation/en-us/red_hat_fuse/7.2/html/deploying_into_apache_karaf/esbruntimeremote#ESBRuntime-Connect-PublicKey

      Not only the documentation is not relevant ( There are docs with container and fabric and they should not appear in 7.x, but that's a different jira with doc), the default keys.properties admin role missing 'ssh' causing bin/client not to work.

      etc/keys.properties
      g\:admingroup = group,admin,manager,viewer,systembundles

      Request to change to
      g\:admingroup = group,admin,manager,viewer,systembundles,ssh

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                grgrzybek Grzegorz Grzybek
                Reporter:
                roger.hui Roger Hui
                Tester:
                Vratislav Hais
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: