gallery.py: Use Python-3-compatible exception syntax
[blog.git] / posts / SSH.mdwn
index 72ec2b4529f07239e714ce421eb79b764700f4b0..cd4006bc5535c9e3dcc4d8dfb0a233af284c307f 100644 (file)
@@ -33,7 +33,16 @@ about the agent with:
 
 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
 ----------------------------------
@@ -54,6 +63,12 @@ running an agent on a computer that they don't own),
     $ export SSH_AGENT_PID=11862
     $ ssh jdoe@elsewhere
 
+mxconns
+-------
+
+[[mxconns]] is a simple X monitor and proxy that I use to accept
+remote X connections when running [[MPE]] on my [[cluster|Abax]].  The
+`mxconns` post has more details if you're interested.
 
 Credits
 -------