From: Tomi Ollila Date: Mon, 21 May 2012 21:35:09 +0000 (+0300) Subject: let ssh to do tilde (~) expansion... X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=96400486885c41a331864b7bfa843e29783ca201 let ssh to do tilde (~) expansion... --- diff --git a/remoteusage/remotewrapper.mdwn b/remoteusage/remotewrapper.mdwn index c86d8ce..a8fa536 100644 --- a/remoteusage/remotewrapper.mdwn +++ b/remoteusage/remotewrapper.mdwn @@ -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 ||