1 How can I prevent GNOME for prompting for my ssh key password?
3 [pdurbin@beamish ~]$ cat /etc/redhat-release
4 Fedora release 17 (Beefy Miracle)
5 [pdurbin@beamish ~]$ echo $SSH_AUTH_SOCK
6 /run/user/pdurbin/keyring-Nq4yQX/ssh
7 [pdurbin@beamish ~]$ ssh-add
8 Enter passphrase for /home/pdurbin/.ssh/id_rsa:
9 Identity added: /home/pdurbin/.ssh/id_rsa (/home/pdurbin/.ssh/id_rsa)
10 [pdurbin@beamish ~]$ ssh server1.greptilian.com
14 > Enter password to unlock the private key
16 > An application wants access to the private key
17 > 'pdurbin@beamish', but it is locked
21 > () Automatically unlock this key
22 > whenever I'm logged in
26 I click "Cancel" (twice) and see this back on the console:
28 Agent admitted failure to sign using the key.
29 Agent admitted failure to sign using the key.
30 pdurbin@server1.greptilian.com's password:
32 For now, this is my workaround:
34 [root@beamish ~]# cd /etc/xdg/autostart
35 [root@beamish autostart]# grep Exec gnome-keyring-ssh.desktop
36 Exec=/usr/bin/gnome-keyring-daemon --start --components=ssh
37 [root@beamish autostart]# mv gnome-keyring-ssh.desktop gnome-keyring-ssh.desktop.disabled
38 [root@beamish autostart]# reboot
40 [pdurbin@beamish ~]$ ssh-add
41 Could not open a connection to your authentication agent.
42 [pdurbin@beamish ~]$ exec ssh-agent bash
43 [pdurbin@beamish ~]$ ssh-add
44 Enter passphrase for /home/pdurbin/.ssh/id_rsa:
45 Identity added: /home/pdurbin/.ssh/id_rsa (/home/pdurbin/.ssh/id_rsa)
46 [pdurbin@beamish ~]$ ssh server1.greptilian.com
47 Last login: Wed Jul 11 09:57:51 2012 from dhcp-0164953481-93-7f.client.fas.harvard.edu
50 The problem with this, however, is that I have to run `exec ssh-agent bash` and `ssh-add` every time I open a new terminal window!
54 http://blog.bogosity.se/2010/03/01/ssh-agent-without-the-gnome-keyring/
56 https://live.gnome.org/GnomeKeyring/Ssh