Your ssh terminal output above, how did you ssh to get that? It appears you are in the OS filesystem and you need to define the ssh private key in the home assistant docker file system. The warning you posted seems to support that you don’t have the keys in the docker file system.
HAOS installs Home Assistant and any Add-ons in docker containers. That makes it convenient to upgrade by simply pulling the new docker container from Github.
By “Home Assistant Terminal” I assume you mean the Home Assistant VM in Proxmox. That is not the right location. Follow the guide I posted above; it has all the information needed to correctly setup the correct shell and command line entities.
I am struggling with a similar problem. I am trying to run a .sh script witch is saved on my home-assistant machine.
(The home-assistant machine is a respberry pi 4 and home-assistant was installed by using the raspberry imager).
run_copy uses an unknown action
Bug ⸱ Reported by Automation
The automation ‘run_copy’ (automation.run_copy) has an unknown action: shell_command.run_copy.
This error prevents the automation from running correctly. This action may no longer be available or may have been caused by a typo.
Can enybody help my. It can not be so hard to run a simple .sh-file, is not it?
Does this change to configuration.yaml validate correctly in developer tools? Based on your error message the service isn’t created because this configuration isn’t valid.
They don’t use the full path of the bash command. I’m not saying yours is wrong, but that is the only difference I see between the example and your config.
and many other combination you can use with / and ". Everything I have found in the internet the people have written how it could work I have tried.
What do you mean with
Does this change to configuration.yaml validate correctly in developer tools?
How can I prove I have done it? Everytime I change something in the configuration.yaml I run the test in the developer tools (1) by klicking (2) and then read all *.yaml new (3)
Some integrations require a restart of Home Assistant, and it looks like shell_command is one of them. Have you completely restarted Home Assistant?
The reason I ask about checking the configuration is that the configuration creates a service (action) and since your error message indicates the service doesn’t exist then the configuration wasn’t loaded.
You can verify by checking the Actions tab of developer tools. If the “run_copy” action doesn’t exist in the list, then your configuration hasn’t been loaded.