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

    • Bug
    • Resolution: Done
    • Minor
    • fuse-7.3
    • fuse-7.2
    • Karaf
    • None
    • Low
    • % %
    • 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:

    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

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            rhn-support-whui Roger Hui
            Vratislav Hais Vratislav Hais (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: