Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are a few parameters that can be set on the command line to change the URL used to connect to the KernelKaraf, the user or the password.
All these parameters are detailed in the help screen:

...

Once the console appears, you can run the remote rsh command to connect to the other Kernel:

Code Block
remote rsh tcp://localhost:8101/ -u karaf -p karaf 

You can also do that in a single command line from the prompt by appending the previous ServiceMix command to the shell command:

Code Block

bin/karaf client remote rsh ssh:ssh tcp://localhost:8101/ -u karaf -p karaf 

...

The defaut configuration is as below:

Code Block
startLocalConsole=${karaf.startLocalConsole}
startRemoteShell=${karaf.startRemoteShell}
sshPort=8101sshPort=8102
sshHost=0.0.0.0
sshRealm=karaf
hostKey=${karaf.base}/etc/host.key

...