Apache Felix Remote Shell
The Apache Felix Remote Shell provided by the
org.apache.felix.shell.remote bundle offers remote access to Apache Felix Shell and [Apache Felix Gogo] using telnet clients. The remote shell provides simple telnet access with no bells and whistles -- it just works.
To use remote shell with the Felix shell, you have to install the
org.apache.felix.shell bundle in addition to the
org.apache.felix.shell.remote bundle. To use it with Gogo, you have to install the
org.apache.felix.gogo.shell bundles in addition to the
org.apache.felix.shell.remote bundle. Once you have the shell bundles installed with the remote shell bundle, start them all to enable remote shell access.
The Apache Felix Remote Shell bundle currently is configured using framework properties obtained from the bundle's context. The following properties are supported:
||127.0.0.1||IP Address on which the remote shell is accessible (since 1.0.4).|
||6666||Port on which the remote shell is accessible.|
||2||The maximum number of simultaneous connections.|
||0||Sets the SO_TIMEOUT socket option to the given number of milliseconds. The default is no timeout (since 1.0.4).|
This remote shell bundle does not employ any security at all. Thus if no security manager is active in the framework's JVM, then any user connecting to the remote shell has full control over the framework.
To have some minimum level of security ensure the IP Address configured with the
osgi.shell.telnet.ip property is not publicly accessible.