X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=remoteusage%2Fremotewrapper.mdwn;h=92fb1fa4c1ed4020b7b238f4b3ec8516410b4837;hb=bbdcbf63583351af9c0954cb92316f5bb3a8509a;hp=c86d8ceeacd9ca32cd0fffb6783b67d3502471ae;hpb=d8c718815e47c8e6ac235b5dd431cd9869181ef7;p=notmuch-wiki diff --git a/remoteusage/remotewrapper.mdwn b/remoteusage/remotewrapper.mdwn index c86d8ce..92fb1fa 100644 --- a/remoteusage/remotewrapper.mdwn +++ b/remoteusage/remotewrapper.mdwn @@ -2,7 +2,7 @@ # Run notmuch on remote host over SSH # - # http://notmuchmail.org/remoteusage/ + # https://notmuchmail.org/remoteusage/ # # Put this script in your path and add (setq notmuch-command # "notmuch-remote") to your emacs configuration. @@ -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 ||