Skip to main content

Using the ssh:ssh command

You can connect to a remote Karaf's console using the ssh:ssh command.

karaf@trun> ssh:ssh -l tadmin -P tadmin -p 8101 hostname
Information noteWarning: The default password is tadmin but we recommend changing it. See Security Security Security for more information.

To confirm that you have connected to the correct Karaf instance, type shell:info at the karaf> prompt. Information about the currently connected instance is returned, as shown.

Karaf
  Karaf home                  /local/apache-karaf-2.0.0
  Karaf base                  /local/apache-karaf-2.0.0
  OSGi Framework              org.eclipse.osgi - 3.5.1.R35x_v20090827
JVM
  Java Virtual Machine        Java HotSpot(TM) Server VM version 14.1-b02
  ...

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!