Missing path when using ssh
I added to /etc/environment:
PATH=$PATH:/usr/bin
Otherwise when using the device the path is fine but when trying to connect with ssh-copy-id:
bash: line 1: exec: sh: not found
When using btrbk from ssh:
btrbk run -n
WARNING: Skipping subvolume "10.42.0.1:/": Failed to fetch subvolume detail
WARNING: ... Command execution failed (exitcode=127)
WARNING: ... sh: ssh [email protected] 'cat /proc/self/mountinfo'
WARNING: ... bash: line 1: cat: command not found
That app needs root.
Both `echo $PATH` and `ssh [email protected] echo $PATH` shows it.