Red Hat Bugzilla – Bug 482778
Regression: gnome-keyring-daemon crashes when unlocking SSH passphrase
Last modified: 2015-03-03 17:33:57 EST
Description of problem:
The first time g-k-d acts as an SSH agent, it crashes, producing this error from SSH:
"Error reading response length from authentication socket."
SSH then falls back to asking for the passphrase on the terminal.
Further attempts to use SSH result in the passphrase being asked on the terminal, with no further error, as the SSH agent (g-k-d) is no longer running.
This can be reproduced by restarting g-k-d, and exporting the environment variables it outputs by hand.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Log into GNOME
2. Start gnome-terminal, use SSH
3. Use ps to verify that gnome-keyring-daemon is no longer running
4. Restart gnome-keyring-daemon on the terminal, export the new environment
variables it outputs
5. Use SSH
6. Revert to 126.96.36.199-1
2) and 5) yields "Error reading response length from authentication socket."
After 6), gnome-keyring-daemon works as expected
Hmm, not happening here, with gnome-keyring-2.25.5-1.fc11 and openssh-client-5.1p1-5.fc11.
What version of openssh-clients is do you have installed ?
What I'm seeing (may be related, may be not) is that the SSH_AUTH_SOCK environment variable points to a socket that isn't being watched by the current gnome-keyring-daemon. This implies that it crashed, and got respawned.
If I reset SSH_AUTH_SOCK to point to where it's currently listening, it hangs.
Can you try again with gnome-keyring-2.25.90 ?
There were some 64bit issues that have been fixed.
It appears to be not crashing any more, but it's not remembering ssh keys.
I see it working perfectly fine now, on x86_64. Still having problems, Bill ?
I don't currently have Rawhide installed on my x86_64 box, so if Bill is not experiencing any problem, we can close this bug report.
It's working better now.
gnome-keyring-daemon still don't work properly for me.
It forgets my ssh password, and sometimes my vpn password. It fails for me in i586, i.e. it is nothing 64bits related for me.
quintela@anano ~]$ rpm -qa openssh-clients
[quintela@anano ~]$ rpm -qa gnome-keyring
it fails for me more sooner than later, and it is completely reproducible.