OPENHAB 3.4 Container SSH Access

*Platform information:
Hardware: x86 QNAP NAS

*Hi i have installed the last 3.4 release of Openhab in the containerstation of my QNAP 451D

How i can get access via SSH to this container?
i connect with putty to may NAS IP as admin.
from here i try

ssh -p 8101 but the connection is refused also port 22 is not working

This is the Docker i used Docker
Is there any parameter need to anable the ssh access on this docker?

If i Use

docker exec -it openhab /openhab/runtime/bin/client

i can excess the openhab console but i think its not possible to get access to the root right?

I want to reach the “var” folder of the container because i need the uuid and secret

You can do:

docker exec -it openhab /bin/bash

and then


verify that you are root by:


I don’t think you should access docker this way normally. It’s generally better to map the folders you need on your host filesystem.


Hi i get acces with

docker exec -it openhab /bin/bash

but there is no folder var/lib/openhab ???

o i got it its need to install the openhab loud connector first then the secret is in userdata//openhabcloud/secret and uuid in userdata/uuid