I usually prime the SSH agent right after I log in (before running
[[screen]] or `startx`) to that new terminals come up knowing about
-the agent.
+the agent. You can also add something like:
+
+ SSH_INFO_FILE="/tmp/$(whoami)/.ssh/.ssh-agent-info-$(hostname)"
+ if [ -f "$SSH_INFO_FILE" ]; then
+ . "$SSH_INFO_FILE"
+ fi
+
+to your `~/.bashrc` (or equivalent shell initialization file), after
+which spawning shells will automatically pick up SSH agent
+information.
Grabbing a ssh-agent by process ID
----------------------------------