SSH_AUTH_SOCK not set since 20251029

Not sure if this is related to 43.20251029 as rolling back to 43.20251028 didn't fix the issue. But somewhere after 2025-10-26 19:00 UTC, my kde startup script running ssh-add starts failing with "Could not open a connection to your authentication agent.". SSH_AUTH_SOCK is not set anymore when opening a plasma session. If I source /etc/xdg/plasma-workspace/env/ssh-agent.sh manually, then it works. I create a test script in the env folder with echo "test" > /tmp/test.tmp , and restart the session, the file is not created. Also, when I grep journalctl on ssh, I noted a difference in the logged message. When it works, I see the output of ssh-agent starting.
oct. 29 20:00:10 bazzite systemd[2989]: Started ssh-agent.service - OpenSSH key agent.
oct. 29 20:00:10 bazzite ssh-agent[3492]: SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket; export SSH_AUTH_SOCK;
oct. 29 20:00:10 bazzite ssh-agent[3492]: echo Agent pid 3492;
oct. 29 20:00:17 bazzite systemd[2989]: Starting app-ssh\x2dadd@autostart.service - ssh-add...
oct. 29 20:00:17 bazzite ssh-add[3766]: Identity added: /home/cortex/.ssh/id_rsa (***)
oct. 29 20:00:17 bazzite systemd[2989]: Started app-ssh\x2dadd@autostart.service - ssh-add.
--
oct. 29 22:24:42 bazzite systemd[2266]: Started ssh-agent.service - OpenSSH key agent.
oct. 29 22:24:50 bazzite systemd[2266]: Starting app-ssh\x2dadd@autostart.service - ssh-add...
oct. 29 22:24:50 bazzite ssh-add[3068]: Could not open a connection to your authentication agent.
oct. 29 22:24:50 bazzite systemd[2266]: Started app-ssh\x2dadd@autostart.service - ssh-add.
oct. 29 22:24:50 bazzite systemd[2266]: app-ssh\x2dadd@autostart.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
oct. 29 22:24:50 bazzite systemd[2266]: app-ssh\x2dadd@autostart.service: Failed with result 'exit-code'.
oct. 29 20:00:10 bazzite systemd[2989]: Started ssh-agent.service - OpenSSH key agent.
oct. 29 20:00:10 bazzite ssh-agent[3492]: SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket; export SSH_AUTH_SOCK;
oct. 29 20:00:10 bazzite ssh-agent[3492]: echo Agent pid 3492;
oct. 29 20:00:17 bazzite systemd[2989]: Starting app-ssh\x2dadd@autostart.service - ssh-add...
oct. 29 20:00:17 bazzite ssh-add[3766]: Identity added: /home/cortex/.ssh/id_rsa (***)
oct. 29 20:00:17 bazzite systemd[2989]: Started app-ssh\x2dadd@autostart.service - ssh-add.
--
oct. 29 22:24:42 bazzite systemd[2266]: Started ssh-agent.service - OpenSSH key agent.
oct. 29 22:24:50 bazzite systemd[2266]: Starting app-ssh\x2dadd@autostart.service - ssh-add...
oct. 29 22:24:50 bazzite ssh-add[3068]: Could not open a connection to your authentication agent.
oct. 29 22:24:50 bazzite systemd[2266]: Started app-ssh\x2dadd@autostart.service - ssh-add.
oct. 29 22:24:50 bazzite systemd[2266]: app-ssh\x2dadd@autostart.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
oct. 29 22:24:50 bazzite systemd[2266]: app-ssh\x2dadd@autostart.service: Failed with result 'exit-code'.
Don't know where to look at or ask.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?