You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/02/12 07:22:00 UTC

[jira] [Commented] (KARAF-7008) client ignores env-variable ORG_APACHE_KARAF_SSH_SSHPORT

    [ https://issues.apache.org/jira/browse/KARAF-7008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283540#comment-17283540 ] 

Jean-Baptiste Onofré commented on KARAF-7008:
---------------------------------------------

Good catch, I forgot to update the client. I will fix that. Thanks !

> client ignores env-variable ORG_APACHE_KARAF_SSH_SSHPORT
> --------------------------------------------------------
>
>                 Key: KARAF-7008
>                 URL: https://issues.apache.org/jira/browse/KARAF-7008
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.10
>         Environment: Linux
>            Reporter: Niklas Neesen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.2.11, 4.3.1
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)