When I have oh2 running from a headless Pi3 installed via apt-get or dpkg -i , how do I use the karaf console? I ssh into the pi to do all my maintenance work, and use Designer for my configuration edits, but have no idea how to actually use the karaf console to get better logging, or delete caches, etc.
If you have a shell, you can
sudo /usr/share/openhab2/runtime/karaf/bin/client
to get the karaf console.
Alternativly do
ssh openhab@localhost -p 8101
with pw: habopen
Important: When logging in the first time, give it 2 or 3 minutes, see here
1 Like
How connect to it without password, where I must put my id_rsa file?
Just for tracking, public key authentication is also available: