There is a new pull request by cattyhouse against master on the void-packages repository https://github.com/cattyhouse/void-packages patch-1 https://github.com/void-linux/void-packages/pull/43338 openssh: fix default path set default path to '/usr/local/sbin:/usr/local/bin:/usr/bin'. by default, openssh's default path is `/usr/bin:/bin:/usr/sbin:/sbin`, according to `appendpath` function in `/etc/profile`, /usr/local/{bin,sbin} will be append to the end of user's $PATH when it is a **ssh connection**. This fixes the issue. [ref1 : archlinux](https://github.com/archlinux/svntogit-packages/blob/0a37d1bd869f9f1e4e6f9d6f5b249510f84140f0/trunk/PKGBUILD#L79) [ref2 : alpine linux](https://git.alpinelinux.org/aports/tree/main/openssh/APKBUILD#n116) A patch file from https://github.com/void-linux/void-packages/pull/43338.patch is attached