karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-5301) system properties and client config conflict
Date Thu, 10 Aug 2017 09:32:01 GMT

     [ https://issues.apache.org/jira/browse/KARAF-5301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-5301:
----------------------------------------
    Component/s: karaf-config

> system properties and client config conflict
> --------------------------------------------
>
>                 Key: KARAF-5301
>                 URL: https://issues.apache.org/jira/browse/KARAF-5301
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-config
>    Affects Versions: 3.0.6
>            Reporter: Terrien Jean-Yves
>            Assignee: Jean-Baptiste Onofré
>
> Hi
> If you want to open the ssh port for all the ip addresses of the machine, you must put
0.0.0.0 in the "sshHost" variable.
> In this case it is impossible to connect with the client, which also uses 0.0.0.0
> >bin/client
> ...
> org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default
JCE provider
> DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Connecting to 0.0.0.0:8101
> if you put "localhost" in the "sshHost" variable. the ssh port is only open for "localhost"
> You can not open a remote connection. but only form localhost
> if you put any dns name our ip of the machine you can not open connexion using client
> (except using command line parametters)
> I suggest adding a default substitution in the case of 0.0.0.0 in org.apache.karaf.client.ClientConfig
line 49
> if ("0.0.0.0".equals(this.host)) {
>   this.host = "localhost" 
> }
> like this you can open the ssh port to any adresses of the machine et simply use
> >client
> to connect.
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message