Connection to a another PC or Raspi


I’m using Openhab 3.0 via Docker on a Synology NAS and it is working well.

Additionally I’m using a Raspi for my MagicMirror and I want to control the Raspi and send some commands to it.
In my last setup, where I used a Raspi also for OH I did it via the EXEC binding. But with the docker container I’m not sure how to setup the ssh connection without password connection to the Raspi.

Perhaps somebody has experience with it and can give me some hints.


I think you first need to make sure that an ssh client is accessible from within docker.
See ( I did not test this ) SSH from Openhab Docker Container .
Once that is done you could create a dedicated private/public key pair that then will be used in your EXEC call.

Sorry for the late response :slight_smile:

I will give it a try and then I will let you know :slight_smile:


Thanks for your help.

The SSH version from a container is not really straight forward. Becaus of this i decided to solve via httpRequest.

If this is interesting for let me know.