Public bug reported:

Binary package hint: gnupg-agent

Description:    Ubuntu 9.04
Release:        9.04

Package: gnupg-agent
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 708
Maintainer: Ubuntu Core Developers <[email protected]>
Architecture: amd64
Source: gnupg2
Version: 2.0.9-3.1

Package: openssh-client
State: installed
Automatically installed: no
Version: 1:5.1p1-5ubuntu1


when I login to my system76 laptop locally (i.e., at the GUI), ssh works just 
fine, using the gpg-agent which is run by gnome like this:
/usr/bin/gpg-agent --daemon --sh 
--write-env-file=/home/sds/.gnupg/gpg-agent-info-sysu76 /usr/bin/dbus-launch 
--exit-with-session /usr/bin/pulse-session /usr/bin/seahorse-agent --execute 
x-session-manager

however, when I login to the laptop remotely (via ssh), gpg-agent no
longer talks to ssh:

$ . /home/sds/.gnupg/gpg-agent-info-sysu76
$ echo $SSH_AGENT_PID
4050
$ echo $SSH_AUTH_SOCK
/tmp/gpg-n0fVbt/S.gpg-agent.ssh
$ ls -l $SSH_AUTH_SOCK
0 srwxr-xr-x 1 sds sds 0 Jun 25 22:43 /tmp/gpg-n0fVbt/S.gpg-agent.ssh=
$ ls -l /proc/$SSH_AGENT_PID/exe
0 lrwxrwxrwx 1 sds sds 0 Jun 25 22:44 /proc/4050/exe -> /usr/bin/gpg-agent*
$ ssh-add
Could not open a connection to your authentication agent.
$ ssh -v <host>
...
debug1: Next authentication method: publickey
debug1: Offering public key: /home/sds/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/sds/.ssh/id_rsa': 

Since both SSH_AGENT_PID and SSH_AUTH_SOCK appear to be set correctly, I
don't understand why ssh does not work.

** Affects: gnupg2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Could not open a connection to your authentication agent.
https://bugs.launchpad.net/bugs/392555
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to