I am a happy user of Debian/stable. From my running gnome session I can do all ssh operation (eg. git) without entering my ssh passphrase.
However it stops working whenever I try to ssh to my running box. How can I setup my ssh session to use the running gnome-keyring as ssh-agent ?
$ ssh localhost $ git remote update Enter passphrase for key '/home/user/.ssh/acme_id_rsa':
The following solutions did not work for me:
The upstream documentation does not list this scenario:
I tried also:
$ ssh localhost $ ssh-add Could not open a connection to your authentication agent.
I tried following suggestion from:
So I did:
$ sudo apt-get install keychain $ cat .zprofile eval `keychain --eval --agents ssh acme_id_rsa`
But then when connecting from ssh session it still ask for my passphrase:
$ ssh localhost [...] * keychain 2.8.5 ~ http://www.funtoo.org * Found existing ssh-agent: 19438 * Adding 1 ssh key(s): /home/user/.ssh/acme_id_rsa Enter passphrase for /home/user/.ssh/acme_id_rsa: