Merge branch 'master' of git.greptilian.com:/var/lib/git/wiki
authorPhilip Durbin <philipdurbin@gmail.com>
Wed, 11 Jul 2012 20:10:03 +0000 (16:10 -0400)
committerPhilip Durbin <philipdurbin@gmail.com>
Wed, 11 Jul 2012 20:10:03 +0000 (16:10 -0400)
fedora.mdwn
git.mdwn

index 41b09f02ec20318090b5bd6e0a796d65c4632aef..f14af52a8a91c56431c50156f62bd23b6092b8b2 100644 (file)
@@ -1,4 +1,8 @@
-How can I prevent GNOME for prompting for my ssh key password?
+Background: I'm planning to switch from a CentOS 6 workstation to one running Fedora 17.  Some things are different.  I have questions.
+
+[[!toc]]
+
+## How can I prevent GNOME from prompting for my ssh key password?
 
     [pdurbin@beamish ~]$ cat /etc/redhat-release 
     Fedora release 17 (Beefy Miracle)
@@ -29,6 +33,28 @@ I click "Cancel" (twice) and see this back on the console:
     Agent admitted failure to sign using the key.
     pdurbin@server1.greptilian.com's password: 
 
+For now, this is my workaround:
+
+    [root@beamish ~]# cd /etc/xdg/autostart
+    [root@beamish autostart]# grep Exec gnome-keyring-ssh.desktop
+    Exec=/usr/bin/gnome-keyring-daemon --start --components=ssh
+    [root@beamish autostart]# mv gnome-keyring-ssh.desktop gnome-keyring-ssh.desktop.disabled
+    [root@beamish autostart]# reboot
+
+    [pdurbin@beamish ~]$ ssh-add
+    Could not open a connection to your authentication agent.
+    [pdurbin@beamish ~]$ exec ssh-agent bash
+    [pdurbin@beamish ~]$ ssh-add
+    Enter passphrase for /home/pdurbin/.ssh/id_rsa: 
+    Identity added: /home/pdurbin/.ssh/id_rsa (/home/pdurbin/.ssh/id_rsa)
+    [pdurbin@beamish ~]$ ssh server1.greptilian.com
+    Last login: Wed Jul 11 09:57:51 2012 from dhcp-0164953481-93-7f.client.fas.harvard.edu
+    [pdurbin@server1 ~]$ 
+
+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!
+
+See also:
+
 http://blog.bogosity.se/2010/03/01/ssh-agent-without-the-gnome-keyring/
 
 https://live.gnome.org/GnomeKeyring/Ssh
index ab6d329bf0aabd772f5949d358ae6b122efb5a7b..ac200f366fa3ae1e8ef0cb6830994858ff7ba52f 100644 (file)
--- a/git.mdwn
+++ b/git.mdwn
@@ -17,3 +17,10 @@ http://stackoverflow.com/questions/750172/how-do-i-change-the-author-of-a-commit
 http://git-scm.com/docs/git-rebase#_recovering_from_upstream_rebase
 
 http://serverfault.com/questions/12373/how-do-i-edit-gits-history-to-correct-an-incorrect-email-address-name
+
+### Use git submodules
+
+Once your submodules are all set...
+
+    git submodule init
+    git submodule update