#801715 gnome-terminal: open in terminal does not preserve SSH_AUTH_SOCK

Package:
gnome-terminal
Source:
gnome-terminal
Description:
GNOME terminal emulator application
Submitter:
Simon John
Date:
2015-10-13 20:09:06 UTC
Severity:
important
#801715#5
Date:
2015-10-13 19:59:48 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

apt-get dist-upgrade pulled in parts of gnome 3.18

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Right-click a Nautilus window, click "open in terminal", then try to
ssh, you will be asked for your passphrase as the SSH_AUTH_SOCK
environment variable is not preserved and so the ssh-agent is not found.

Opening a terminal from the Gnome3 dashboard (panel?) works fine.

Running "ssh-add" from this windows errors with:

"Could not open a connection to your authentication agent."

   * What was the outcome of this action?

SSH_AUTH_SOCK was undefined

   * What outcome did you expect instead?

"echo $SSH_AUTH_SOCK" would return something like /tmp/ssh-blah/agent.1234


Ubuntu seem to have the same problem in bug #1411174