Im using Docker supervised Home Assistant installation like a lot of people.
I installed everything as at was written, but of course when im running the download.sh script, I need to do this with ssh command from docker to the host machine.
This shell command should ssh to my host, and run the download.sh file with the attributes movie name and the type.
Im using this method a lot of times, and many shell script is running like this, but not this one.
If I run the same command from terminal from docker HA, its working correctly, but as soon I want to automatize it with the movie name getting from IFTTT, its giving back "ReturnCode 1".
Maybe the quoting is the bad one, but I tried about 50 type variations, none of them working.
Docker & SSH cannot pass the arguments ( movie, 1 ), to the host. Can you somehow solve this please, would be great to make it work for anybody who using Docker based Home Assistant.
Hello,
Im using Docker supervised Home Assistant installation like a lot of people.
I installed everything as at was written, but of course when im running the download.sh script, I need to do this with ssh command from docker to the host machine.
download_movie: /usr/bin/ssh -i /config/ssh/id_rsa -o UserKnownHostsFile=/config/ssh/known_hosts root@192.168.0.20 /bin/bash /usr/share/hassio/homeassistant/media/download.sh {{movie}} 0
This shell command should ssh to my host, and run the download.sh file with the attributes movie name and the type. Im using this method a lot of times, and many shell script is running like this, but not this one.
If I run the same command from terminal from docker HA, its working correctly, but as soon I want to automatize it with the movie name getting from IFTTT, its giving back "ReturnCode 1".
Maybe the quoting is the bad one, but I tried about 50 type variations, none of them working.
Docker & SSH cannot pass the arguments ( movie, 1 ), to the host. Can you somehow solve this please, would be great to make it work for anybody who using Docker based Home Assistant.
Thank you very much,