/config/scripts/audio_shutdown.sh: line 7: sshpass: No such file or directory
/config/scripts/audio_shutdown.sh: line 8: sshpass: No such file or directory
Script is working fine when executed from ssh session.
It looks like you’re probably using the install method previously called Hass.io, now known as Home Assistant. When you ran apk you installed the command in the host not in the container that runs Home Assistant (Core).
You need instead to use SSH keys, without passphrases, and specify those on the command line when you call SSH.
Hello!
my installation is a brand new one on a rapsberry pi 3 - as far as i can tell it looks to rely on docker. Does this still apply?
EDIT: ho, i got it - no other way to do i guess
I’m in the same boat here, just moved over to core from hassbain and really need sshpass working from shell commands can someone elaborate on the steps for making this work?
Hey, my install of Home Assistant OS on my raspberry pi is doing the same thing, and I don’t think that uses containers, so not sure why it doesn’t work. Can you elaborate on how to setup the ssh keys?