Shell_command / ssh: return_code 255

Swinging through two years later to say you’re my hero.

I was at this for a hilarious amount of time. Tragically, I had EVERYTHING handled just fine (keys, ssh, proper config path, ssh, .ssh, etc) and I was certain the container was the issue, but at no point did anyone in any forum - nor did anyone include in any official documentation that I combed through - either of

  1. the “protection mode” setting, or
  2. the docker exec -it homeassistant bash command

Home Assistant container did indeed just need the ol’ fingerprint/yes/green light/high five/karate chop.

As a serious shell script and workflow junkie who automates even the silliest things, thank you very much!