Terrien Jean-Yves created KARAF-5301:

             Summary: system properties and client config conflict
                 Key: KARAF-5301
                 URL: https://issues.apache.org/jira/browse/KARAF-5301
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 3.0.6
            Reporter: Terrien Jean-Yves

If you want to open the ssh port for all the ip addresses of the machine, you 
must put in the "sshHost" variable.
In this case it is impossible to connect with the client, which also uses

org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using 
the default JCE provider
DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Connecting to

if you put "localhost" in the "sshHost" variable. the ssh port is only open for 
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 
(except using command line parametters)

I suggest adding a default substitution in the case of in 
org.apache.karaf.client.ClientConfig line 49
if ("".equals(this.host)) {
  this.host = "localhost" 

like this you can open the ssh port to any adresses of the machine et simply use
to connect.

This message was sent by Atlassian JIRA

Reply via email to