Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1389

SSH doesn't correctly use the karaf.base variable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.6
    • Fix Version/s: 2.2.7, 2.3.0, 3.0.0
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      The ssh blueprint descriptor uses <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]"/>. So it means that the "system" variable should be defined in $[karaf.base] format (and not the default ${karaf.base} format).

      However, the <cm:property-placeholder/> uses:

      <cm:property name="hostKey" value="$[karaf.base}/etc/host.key"/>
      <cm:property name="authorizedKeys" value="$[karaf.base}/etc/authorized_keys"/>

      which is not correct.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                jbonofre Jean-Baptiste Onofré
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: