I had a similar situation where I run scripts on another system from ssh. I didn't want to use password stuff so generated keys so I coukd just ssh with no questions asked (not very secure but I rely on nobody being able to break into my network). It worked from the regular user but not from the domoticz daemon since that process has different privileges. Generating ssh keys for root fixes it (even more insecure but hey...) .

I had a similar situation where I run scripts on another system from ssh. I didn't want to use password stuff so generated keys so I coukd just ssh with no questions asked (not very secure but I rely on nobody being able to break into my network). It worked from the regular user but not from the domoticz daemon since that process has different privileges. Generating ssh keys for root fixes it (even more insecure but hey...) .

May you explain me how or point me the right thing to try? Thanks for your hint

here is a link (I think I used it myself): https://www.tecmint.com/ssh-passwordles ... asy-steps/ or another one http://www.linuxproblem.org/art_9.html
Be aware that you need to do this for every user that uses ssh so if domoticz runs as a daemon, 1) generate the keys as root (sudo -s) and then test the keys as root as well!
Works like a charm for me between multiple systems for me BUT BE AWARE THAT IT EXPOSES YOUR SYSTEM so ensure your network cannot be hacked!!!

here is a link (I think I used it myself): https://www.tecmint.com/ssh-passwordles ... asy-steps/ or another one http://www.linuxproblem.org/art_9.html
Be aware that you need to do this for every user that uses ssh so if domoticz runs as a daemon, 1) generate the keys as root (sudo -s) and then test the keys as root as well!
Works like a charm for me between multiple systems for me BUT BE AWARE THAT IT EXPOSES YOUR SYSTEM so ensure your network cannot be hacked!!!