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

client ignores env-variable ORG_APACHE_KARAF_SSH_SSHPORT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.10
    • 4.2.11, 4.3.1
    • karaf
    • None
    • Linux

    Description

      I tried to use the env-variable ORG_APACHE_KARAF_SSH_SSHPORT to change the ssh-server-port. I set the env-variable under ./bin/setenv. I started the karaf with ./bin/start and the ssh-server runs under the custom port as expected.
      But when I tried to connect to the karaf-shell with ./bin/client the client uses the old default-port and NOT the new custom port. Setting the env-variable directly in the session didnt help either.
      Only a direct change in the config-file "org.apache.karaf.shell.cfg" helped to make the client connect to the custom port.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            creak Niklas Neesen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: