> [Alpine] just do not link SSH against libsystemd
Arch doesn't either.
In fact, official releases of openssh-portable don't. One has to patch it for that. Debian and Fedora (as well as their downstreams) do apply such a patch [1]. Most other distros don't.