1 Background: I'm planning to switch from a CentOS 6 workstation to one running Fedora 17. Some things are different. I have questions.
5 ## How can I prevent GNOME from prompting for my ssh key password?
7 [pdurbin@beamish ~]$ cat /etc/redhat-release
8 Fedora release 17 (Beefy Miracle)
9 [pdurbin@beamish ~]$ echo $SSH_AUTH_SOCK
10 /run/user/pdurbin/keyring-Nq4yQX/ssh
11 [pdurbin@beamish ~]$ ssh-add
12 Enter passphrase for /home/pdurbin/.ssh/id_rsa:
13 Identity added: /home/pdurbin/.ssh/id_rsa (/home/pdurbin/.ssh/id_rsa)
14 [pdurbin@beamish ~]$ ssh server1.greptilian.com
18 > Enter password to unlock the private key
20 > An application wants access to the private key
21 > 'pdurbin@beamish', but it is locked
25 > () Automatically unlock this key
26 > whenever I'm logged in
30 I click "Cancel" (twice) and see this back on the console:
32 Agent admitted failure to sign using the key.
33 Agent admitted failure to sign using the key.
34 pdurbin@server1.greptilian.com's password:
36 For now, this is my workaround:
38 [root@beamish ~]# cd /etc/xdg/autostart
39 [root@beamish autostart]# grep Exec gnome-keyring-ssh.desktop
40 Exec=/usr/bin/gnome-keyring-daemon --start --components=ssh
41 [root@beamish autostart]# mv gnome-keyring-ssh.desktop gnome-keyring-ssh.desktop.disabled
42 [root@beamish autostart]# reboot
44 [pdurbin@beamish ~]$ ssh-add
45 Could not open a connection to your authentication agent.
46 [pdurbin@beamish ~]$ exec ssh-agent bash
47 [pdurbin@beamish ~]$ ssh-add
48 Enter passphrase for /home/pdurbin/.ssh/id_rsa:
49 Identity added: /home/pdurbin/.ssh/id_rsa (/home/pdurbin/.ssh/id_rsa)
50 [pdurbin@beamish ~]$ ssh server1.greptilian.com
51 Last login: Wed Jul 11 09:57:51 2012 from dhcp-0164953481-93-7f.client.fas.harvard.edu
54 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!
58 http://blog.bogosity.se/2010/03/01/ssh-agent-without-the-gnome-keyring/
60 https://live.gnome.org/GnomeKeyring/Ssh