]> git.cworth.org Git - notmuch-wiki/commitdiff
let ssh to do tilde (~) expansion...
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 21 May 2012 21:35:09 +0000 (00:35 +0300)
committerTomi Ollila <tomi.ollila@iki.fi>
Mon, 21 May 2012 21:35:09 +0000 (00:35 +0300)
remoteusage/remotewrapper.mdwn

index c86d8ceeacd9ca32cd0fffb6783b67d3502471ae..a8fa536534d2d952cf112777232852b892d0c155 100644 (file)
@@ -16,8 +16,8 @@
     
     SSH_REMOTE_HOST=notmuch
 
-    # Note: for security reasons the control socket is placed in $HOME/.ssh
-    SSH_CONTROL_PATH="-o ControlPath=$HOME/.ssh/notmuch-remote.%r@%h:%p"
+    # Note: for security reasons the control socket is placed in ~/.ssh
+    SSH_CONTROL_PATH='-o ControlPath=~/.ssh/notmuch-remote.%r@%h:%p'
     
     # Start a background master connection if one isn't running yet
     ssh ${SSH_CONTROL_PATH} -O check ${SSH_REMOTE_HOST} 2>/dev/null ||