[jira] [Updated] (KARAF-5301) system properties and client config conflict

2017-08-10 Thread JIRA

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

Jean-Baptiste Onofré updated KARAF-5301:

Fix Version/s: (was: 4.1.3)
   (was: 4.0.10)
   (was: 4.2.0)
   (was: 3.0.9)

> 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-shell
>Affects Versions: 3.0.6
>Reporter: Terrien Jean-Yves
>Assignee: Jean-Baptiste Onofré
>
> 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}}:
> {code}
> 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
> {code}
> 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 from localhost.
> If you put any DNS name, our IP of the machine you can not open connection 
> using client (except using command line parameters).
> I suggest adding a default substitution in the case of {{0.0.0.0}} in 
> {{org.apache.karaf.client.ClientConfig:49}}:
> {code}
> if ("0.0.0.0".equals(this.host)) {
>   this.host = "localhost" 
> }
> {code}
> like this you can open the ssh port to any addresses of the machine and 
> simply use {{bin/client}} to connect.



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


[jira] [Updated] (KARAF-5301) system properties and client config conflict

2017-08-10 Thread JIRA

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

Jean-Baptiste Onofré updated KARAF-5301:

Fix Version/s: 4.1.3
   4.0.10
   4.2.0
   3.0.9

> 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-shell
>Affects Versions: 3.0.6
>Reporter: Terrien Jean-Yves
>Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.9, 4.2.0, 4.0.10, 4.1.3
>
>
> 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}}:
> {code}
> 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
> {code}
> 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 from localhost.
> If you put any DNS name, our IP of the machine you can not open connection 
> using client (except using command line parameters).
> I suggest adding a default substitution in the case of {{0.0.0.0}} in 
> {{org.apache.karaf.client.ClientConfig:49}}:
> {code}
> if ("0.0.0.0".equals(this.host)) {
>   this.host = "localhost" 
> }
> {code}
> like this you can open the ssh port to any addresses of the machine and 
> simply use {{bin/client}} to connect.



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


[jira] [Updated] (KARAF-5301) system properties and client config conflict

2017-08-10 Thread JIRA

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

Jean-Baptiste Onofré updated KARAF-5301:

Description: 
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}}:

{code}
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
{code}

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 from localhost.

If you put any DNS name, our IP of the machine you can not open connection 
using client (except using command line parameters).

I suggest adding a default substitution in the case of {{0.0.0.0}} in 
{{org.apache.karaf.client.ClientConfig:49}}:

{code}
if ("0.0.0.0".equals(this.host)) {
  this.host = "localhost" 
}
{code}

like this you can open the ssh port to any addresses of the machine and simply 
use {{bin/client}} to connect.

  was:
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


> 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-shell
>Affects Versions: 3.0.6
>Reporter: Terrien Jean-Yves
>Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.9, 4.2.0, 4.0.10, 4.1.3
>
>
> 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}}:
> {code}
> 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
> {code}
> 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 from localhost.
> If you put any DNS name, our IP of the machine you can not open connection 
> using client (except using command line parameters).
> I suggest adding a default substitution in the case of {{0.0.0.0}} in 
> {{org.apache.karaf.client.ClientConfig:49}}:
> {code}
> if ("0.0.0.0".equals(this.host)) {
>   this.host = "localhost" 
> }
> {code}
> like this you can open the ssh port to any addresses of the machine and 
> simply use {{bin/client}} to connect.



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


[jira] [Updated] (KARAF-5301) system properties and client config conflict

2017-08-10 Thread JIRA

 [ 
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: (was: karaf-config)
 karaf-shell

> 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-shell
>Affects Versions: 3.0.6
>Reporter: Terrien Jean-Yves
>Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.9, 4.2.0, 4.0.10, 4.1.3
>
>
> 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}}:
> {code}
> 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
> {code}
> 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 from localhost.
> If you put any DNS name, our IP of the machine you can not open connection 
> using client (except using command line parameters).
> I suggest adding a default substitution in the case of {{0.0.0.0}} in 
> {{org.apache.karaf.client.ClientConfig:49}}:
> {code}
> if ("0.0.0.0".equals(this.host)) {
>   this.host = "localhost" 
> }
> {code}
> like this you can open the ssh port to any addresses of the machine and 
> simply use {{bin/client}} to connect.



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


[jira] [Updated] (KARAF-5301) system properties and client config conflict

2017-08-10 Thread JIRA

 [ 
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)