Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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.runtime and 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.

Info
titleGogo is the defaultDefault shell

If you have both the Felix shell and Gogo installed and active, then the default is to connect to Gogo when you telnet into the remote shell. If you wish to telnet into the Felix shell, you should stop or the Gogo runtime bundle.

Configuration

...

Property

Default Value

Description

osgi.shell.telnet.ip

127.0.0.1

IP Address on which the remote shell is accessible (since 1.0.4).

osgi.shell.telnet.port

6666

Port on which the remote shell is accessible.

osgi.shell.telnet.maxconn

2

The maximum number of simultaneous connections.

osgi.shell.telnet.socketTimeout

0

Sets the SO_TIMEOUT socket option to the given number of milliseconds. The default is no timeout (since 1.0.4).

...

Note
titleBe aware

The remote shell does not listen on all interfaces by default

...

; it only listens on the localhost

...

. That is, by default the remote shell is only accessible from the host on which the remote shell is running. To access the system from another host, you have to configure the IP address of the interface to which the remote shell should be attached.

Security Note

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.

...