I am in the process of getting rid of gnome-keyring as an SSH agent.
Things that I have done
- Searched the internet for hours.
- Changed stuff and restarted, often.
- Finally just
rm-ed all the autostart stuff related to SSH.
That last thing magically worked as there is no more the socket for the agent there:
/run/user/[uid]/keyring/ssh
Problem
The remaining problem is that in spite of my obtaining the wonderful aforementioned result, something in gnome-keyring still insists on setting SSH_AUTH_SOCK to the now non-existing socket above. It's like zombies, these things never die.
Question
What is setting that variable and where is it done?
Pitfalls
- I am not asking how I can reset that variable to another value.
- I am not asking how I can set that value system-wide or in a shell configuration file.
- I am not asking for some init-script voodoo incantations to freeze, set, reset, unset or replace anything.
- I am not asking for advice on how to uninstall the thing: I still need it for my passwords and it seems to be the most integrated and polished password manager in Gnome.
I want that thing disabled as it should be.