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] [Commented] (KARAF-3512) Modify the sshHost(org.apache.karaf.shell.ssh) is not working in Karaf 2.3.2
Date Tue, 10 Feb 2015 12:43:11 GMT

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

Jean-Baptiste Onofré commented on KARAF-3512:

Do you try scp or ssh ?
Please, be precise in your request.

As you can see:
1/ sshHost is working fine and as expected: the sshd server is bound to one specific interface.
It's defined in the blueprint:

 <cm:property-placeholder persistent-id="org.apache.karaf.shell" update-strategy="reload">
    <cm:property name="sshHost" value=""/>
 <bean id="sshServer" class="org.apache.sshd.SshServer" factory-method="setUpDefaultServer"
  <property name="host" value="${sshHost}"/>

I tried the ssh access (from another server), and it works fine. Let me try "again" scp.

> Modify the sshHost(org.apache.karaf.shell.ssh) is not working in Karaf 2.3.2
> ----------------------------------------------------------------------------
>                 Key: KARAF-3512
>                 URL: https://issues.apache.org/jira/browse/KARAF-3512
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>            Reporter: KG Anand
>            Assignee: Jean-Baptiste Onofré
> Karaf version 2.3.2. 
> I want to change the sshHost parameter from to xxx.xxx.xxx.xxx (i.e. Server IP
> Editing the file,then restart the karaf instance. 
> config:edit org.apache.karaf.shell
> config:propset sshHost
> config:update 
> After the Restart, Instance is not coming up.
> Revert the value to ""  in config file (org.apache.karaf.shell.cfg), then its
working fine.
> Now my question is, we can edit the config file and the set the IP address will work
in Karaf 2.3.3 Version or not ?
> I found some fixes in your website, Its little related to My question.
> https://issues.apache.org/jira/browse/KARAF-3130
> Existing:
> tcp        0      0     *                   LISTEN
> Expectation : i want to the change the sshHost from "" to ""
> tcp        0      0     *                   LISTEN
> I want to bind my karaf instance to the specific IP Address.
> I have 4 ethernet interfaces, i want to set the karaf instance has to use the particular
> Is there any possiblilty to make it possible in Karaf 2.3.2 version itself.
> One more Question is, this sshHost parameter is already available in config file(org.apache.karaf.shell.cfg),
then why editing this file with the IP address and restarting the Karaf instance is Not working
> Thanks in Advance :)

This message was sent by Atlassian JIRA

View raw message