Running OSGi Commands Using SSH Client

You can run OSGi commands using SSH client.

Procedure

  1. Edit the AppNode config.ini file.
  2. Uncomment the following properties:
    #osgi.console=null
    #osgi.console.ssh=<free port>
    #osgi.console.enable.builtin=false
    #osgi.console.ssh.useDefaultSecureStorage=true
    #java.security.auth.login.config=../sshconfig/equinox.console.jaas.login.conf
    #ssh.server.keystore=../sshconfig/hostkey.ser
    #org.eclipse.equinox.console.jaas.file=../sshconfig/store
  3. Configure the property osgi.console with the host name.
  4. Configure the property osgi.console.ssh with the free port. This port is used for OSGi remote access.
    Default credentials to connect via SSH are equinox and equinox
  5. Restart the AppNode.