Ssh-agent not working since last update

Hello, I have an issue with ssh-agent command since the last update of Manjaro (IMO).

ps -ef | grep ssh-agent
flo         5602    1430  0 20:11 ?        00:00:00 /usr/bin/ssh-agent -D -a /run/user/1000/ssh-agent.socket
flo         5607    4154  0 20:11 pts/1    00:00:00 grep --colour=auto ssh-agent
ssh-add -l
Could not open a connection to your authentication agent.

This is the first time that my ssh-agent doesn’t work, I use daemon/User in :

# ~/.config/systemd/user/ssh-agent.service
[Unit]
Description=SSH key agent

[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
# DISPLAY required for ssh-askpass to work
Environment=DISPLAY=:0
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK

[Install]
WantedBy=default.target

If I launch ssh-agent manually it works obviously, but that not what I want (and before everything was working)

eval `ssh-agent`
ssh-add -l
The agent has no identities.

Any Idea ?

Thanks

Regards

Kernel : 5.15.76-1 LTS
KDE Plasma

1 Like

This thread might be related to you problem.

3 Likes

Thanks a lot for your help!

I created the script mentioned in the topic and after a reboot it worked again.

I had done a search on the forum but I had not found the topic sorry for the duplicate issue

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.