You are not logged in.

#1 2016-04-23 14:33:50

ichilton
Member
Registered: 2016-04-23
Posts: 3

Suddenly no SSH Agent

Hi,

I'm using Arch with the Cinnamon desktop environment, loaded from GDM.

All of a sudden this week, I don't appear to have an SSH Agent loaded.

[ichilton@ichilton-folio ~]$ ssh-add -L
Could not open a connection to your authentication agent.

[ichilton@ichilton-folio ~]$ ps -ef |grep agent
ichilton   877   782  0 14:53 tty2     00:00:00 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
ichilton  2214  2097  0 15:33 pts/2    00:00:00 grep agent
[ichilton@ichilton-folio ~]$ 

I've got gnome-keyring installed but haven't had to configure it - it just worked out of the box before.

Any ideas what's changed?

Where does it usually get loaded from?

Thanks,

Ian

Offline

#2 2016-04-23 22:20:15

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 653

Re: Suddenly no SSH Agent

This may be the intermittent bug introduced about 18 months ago after GNOME 3.16 appeared?

E.g. see https://bbs.archlinux.org/viewtopic.php?id=196068 and https://bbs.archlinux.org/viewtopic.php?id=205961 and https://bbs.archlinux.org/viewtopic.php?id=205496.

I added the following ugly hack to my ~/.bashrc to avoid the problem and don't see it anymore.

# Till this gets fixed ..
if [ -z "$SSH_CLIENT" ]; then
    export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"
fi

Offline

#3 2016-04-26 20:45:28

ichilton
Member
Registered: 2016-04-23
Posts: 3

Re: Suddenly no SSH Agent

Thanks for the reply!

Offline

#4 2016-04-26 21:54:31

rlees85
Member
From: Daventry, UK
Registered: 2015-04-29
Posts: 96
Website

Re: Suddenly no SSH Agent

https://bbs.archlinux.org/viewtopic.php?id=211196

Its a permanent fault introduced with Gnome Keyring 3.20. Rolling back to Gnome Keyring and Seahorse 3.18 (or 19 whatever is previous to 3.20 in the Arch Rollback repo) fixes the issue.

I have been meaning to raise a bug report to Gnome-Keyring.

Also I am using Cinnamon, so it might be Cinnamon specific.

Offline

#5 2016-04-26 22:10:15

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 653

Re: Suddenly no SSH Agent

rlees85 wrote:

Also I am using Cinnamon, so it might be Cinnamon specific.

Before that work-around it used to happen to me on GNOME 3 intermittently, maybe 1 in 5 reboot/logins. It seems to be some kind of race condition at login.

Offline

#6 2016-04-28 06:47:50

rlees85
Member
From: Daventry, UK
Registered: 2015-04-29
Posts: 96
Website

Re: Suddenly no SSH Agent

This bug is annoying now and I really cannot see why it is happening (after a compare of the files between 3.18 and 3.20)..

https://bugs.archlinux.org/task/49118

Offline

#7 2016-04-30 08:25:44

ichilton
Member
Registered: 2016-04-23
Posts: 3

Re: Suddenly no SSH Agent

Thanks - at least it's not just me!

Offline

Board footer

Powered by FluxBB