You are not logged in.

#1 2015-12-08 14:48:07

bananagogo
Member
Registered: 2010-03-26
Posts: 8

[SOLVED] Gnome keyring ssh agent

Hello

My Gnome keyring is broken when trying to connect to a server via SSH.
Before that a graphical password prompt appeared when connecting the first time to a remote server. Now I get a "Enter passphrase for key" prompt each time connecting to a server.
When executing "ssh-add -L" to list the loaded key I get "Could not open a connection to your authentication agent.".

Anyone have an idea what's going wrong?

Last edited by bananagogo (2015-12-09 08:21:42)

Offline

#2 2015-12-09 01:23:11

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

Re: [SOLVED] Gnome keyring ssh agent

That's this problem https://bbs.archlinux.org/viewtopic.php?id=196068 which has existed on Arch since gnome 3.16 arrived and still on gnome 3.18. Reboot and you will probably find it is ok. It is an intermittent problem probably due to some race-condition. As I say there you can hard-code

export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"

in ~/.bashrc to avoid the problem. Personally, I just reboot.

Offline

#3 2015-12-09 08:21:24

bananagogo
Member
Registered: 2010-03-26
Posts: 8

Re: [SOLVED] Gnome keyring ssh agent

Thank you, hard coding SSH_AUTH_SOCK worked.

Offline

Board footer

Powered by FluxBB