I installed hassio on a Raspberry Pi 3B+ with the hassio image for Raspberry Pi 3B+ 32bit (https://www.home-assistant.io/hassio/installation/)
Because of the many read/writes, I want to move logs and database to a USB-drive like mentioned here:
I installed the SSH server addon to be able to run the commands mentioned in the guide. To do so I need to have SU rights? When I setup just a normal password in SSH server config’(hassio . local : 8123) I can’t run this command:
sudo dmesg|tail -n 20|grep sd
Then I’ll get this message:
-bash: sudo: command not found
I read I had to create a private key, so I did and added that to the SSH config under authorized_keys, but I still got the same message. After some reading, I had to add the authorized_keys through a config usb drive. So I did, and I could connect to hassio through PuTTy with the passphrase and privatekey file on port 22222. But when I try to run the command, I get this message:
hassio > sudo dmesg|tail -n 20|grep sd Error: unknown command "sudo" for "hassio" Run 'hassio --help' for usage. FATA Error while executing rootCmd: unknown command "sudo" for "hassio"
So it’s still not working. What can I do to fix this?