How can I prevent the tasks from autostarting

A user, guss77, pointed me to systemd-cgls to see what is starting tasks and also showed me how to stop ssh-agent:

systemctl --user disable --now ssh-agent.service

More details are in this post:

https://discuss.kde.org/t/ssh-hack-block-kde-ssh-agent-autostart/18201