Karaf
  1. Karaf
  2. KARAF-1389

SSH doesn't correctly use the karaf.base variable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Issue Links

          Activity

          Jamie goodyear made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jean-Baptiste Onofré made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jean-Baptiste Onofré made changes -
          Field Original Value New Value
          Link This issue relates to KARAF-1388 [ KARAF-1388 ]
          Jean-Baptiste Onofré created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development