GNOME Bugzilla – Bug 622282
Doesn't work in SSH session with X forwarding
Last modified: 2010-10-19 02:22:30 UTC
[Also reported at https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/596567] I've got identical id_rsa and id_rsa.pub files on two computers (both were restarted after installing the certificate). When trying to do something that requires the key on the machine I'm sitting at, I get a pop-up which asks for the password and caches the key afterwards. Then I try to do the same on the other machine, after `ssh -X`, but it keeps asking for the passphrase, and there's no pop-up. Example session: laptop:~/foo$ git pull [window pops up, I fill in the passphrase and click OK] [git pull output] laptop:~/foo$ cd ~/bar laptop:~/bar$ git pull [git pull output] laptop:~/foo$ ssh -X desktop desktop:~$ cd foo desktop:~/foo$ git pull Enter passphrase for key '/home/jdoe/.ssh/id_rsa': desktop:~/foo$ cd ~/bar desktop:~/bar$ git pull Enter passphrase for key '/home/jdoe/.ssh/id_rsa': The first time I do `git pull` on desktop, it should pop up a dialog to request the passphrase, and when I do the last `git pull` it shouldn't ask for the passphrase at all. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: seahorse 2.30.0-0ubuntu2 ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic i686 Architecture: i386 Date: Sun Jun 20 15:37:24 2010 InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4) ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: seahorse
It seems to me that gnome-keyring-daemon crashed between the first successful 'git pull' and the last ones. Could you provide a stack trace of the crash? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
I didn't get any message about a crash, but I suspect the issue is different: Seahorse is not started when logging in via ssh -X. Changing to "enhancement" since I guess it's more of an issue of SSH working with Seahorse when possible.
You need to use ForwardAgent in your laptop ~/.ssh/config See: man ssh_config