as part of my session a ssh-agent is being started. As I am using keychain instead, I don’t want this because it messes-up my env variables and prevents my keychain user unit to surface.
I see that it is running as part of the session: sudo ps -o pid,unit,lstart -p $SSH_AGENT_PID:
PID UNIT STARTED
35607 session-12.scope Sun Nov 7 16:46:15 2021
But I cannot find where it is being started. I checked everywhere: systemd, systemd --user, .bashrc, .xinitrc, .profile, .config/autostart
I also literally searched my whole drive for any files that actual do the ssh-agent -s call.
Start/enable sshd.service. It will keep the SSH daemon permanently active and fork for each incoming connection.[1].
Note: openssh 8.0p1-3 removed sshd.socket that used systemd's socket activation due to it being susceptible to denial of service. See FS#62248 for details. If sshd.socket is enabled when updating to openssh 8.0p1-3, the sshd.socket and sshd@.service units will be copied to /etc/systemd/system/ and reenabled. This is only done to not break existing setups, users are still advised to migrate to sshd.service.
Hi, thanks for taking the time. I checked this already. I also (temporarily) disabled all autostarts to ensure it’s not being started as part of a component I don’t know. This did not help, though. 🤷