After following the guide on
I recognized, that starting matrix-os with node after a reboot did actually not work because the device id was not found.
I already had created ~/.envrc with the correct settings, but after the reboot, I had to run
again to get the environment variables loaded.
So I just added the command to the end of ~/.bashrc , resulting in the environment variables being loaded at login via ssh.
I wonder, if ~/.bashrc gets invoked without the login, or do I need to put device id and secret somewhere else?