Remove some systemd evil... On Ubuntu 22.04+ (incl. 24.04LTS), every SSH login s...

@dragosr@chaos.social

Remove some systemd evil...

On Ubuntu 22.04+ (incl. 24.04LTS), every SSH login spawns a full systemd --user session, auto-starting 8–15+ desktop services (audio, indexing, portals, a11y) via socket/D-Bus activation — all useless on headless/SSH-only consoles, wasting memory and resources.

Fix:
github.com/secwest/lean-ssh