Running OSGi Commands Using SSH Client
You can run OSGi commands using SSH client.
- Procedure
- Edit the AppNode config.ini file.
- 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
- Configure the property osgi.console with the host name.
- 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
equinoxandequinox - Restart the AppNode.