Contents
Inhalt | ||||||
---|---|---|---|---|---|---|
|
...
The port and address to listen on can be configured in the configuration file etc/conf.d/gogo-ssh.properties
. The major lines of the default configuration are:
Codeblock | ||||
---|---|---|---|---|
| ||||
# location of the authorized_keys file gogo.ssh.etcPath = ${osgi.runner.etcPath}/sshd.d # port and address to listen on gogo.ssh.port = 8101 gogo.ssh.host = localhost |
...
Felix' HTTP port is configured in the configuration file file adm.d/
org.apache.felix.http.cfg
which looks like this:
...
osgi-runner should only listen on localhost (127.0.0.1), which is achieved by adding the setting org.apache.felix.http.host=127.0.0.1
to org.apache.felix.http.cfg
, see also http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html for more configuration options of the embedded HTTP server.
Alternatively, the local firewall should not allow remote access to osgi-runner's HTTP port.
...