Thanks Bruce, sure but a bit complex . I was hoping for something similiar to:
Bind Console to All Interfaces
The network interface configuration is defined in the file
org.apache.karaf.shell.cfg , located in the
etc directory as mentioned above. As this file may get overwritten when upgrading openHAB, you can change this parameter in the
runtime.cfg file which can be found in the
$OPENHAB_CONF/services directory, e.g.
sshHost entry controls the interface address to bind to.
sshHost = 127.0.0.1 (localhost) is the default due to obvious security reasons. If you are on a local network or you are fully aware of all risks of exposing your system to the public, you can change the bind address. Replace the
0.0.0.0 to bind to all available network interfaces. Please be aware, that the console will now be accessible from all devices in your subnet and is only secured by the password defined in
users.properties (same path). You should thereby change the password. Depending on your network configuration the console may also be exposed to the public internet, so check your routing and firewall configuration.
To enable binding to all interfaces, uncomment the line
#org.apache.karaf.shell:sshHost = 0.0.0.0