Thank you for your help!
I opened a ticket upstream. You can find it here:
https://github.com/systemd/systemd/issues/12867
- Bug#929652: systemd: sshd processes are not put into the c... Simon Beirnaert
- Bug#929652: systemd: sshd processes are not put into ... Michal Koutný