summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fba9224)
a name that looked best in the examples found in the net
added note about execute permissions
HostName example.com
User remoteuser
ControlMaster auto
HostName example.com
User remoteuser
ControlMaster auto
- ControlPath /home/user/.ssh/%h_%p_%r
+ ControlPath ~/.ssh/master-%h@%p:%r
- IdentityFile /home/user/.ssh/example.com.id_rsa
+ IdentityFile ~/.ssh/example.com.id_rsa
Replace `example.com` with your server. Replace `remoteuser` with the
Replace `example.com` with your server. Replace `remoteuser` with the
-username on the server. Replace `/home/user` with your home directory.
The `Control*` options keep the connection open in the background to not
require authentication every time. The `ControlPersist` option defines
The `Control*` options keep the connection open in the background to not
require authentication every time. The `ControlPersist` option defines
printf -v ARGS "%q " "$@"
exec ssh notmuch notmuch ${ARGS}
printf -v ARGS "%q " "$@"
exec ssh notmuch notmuch ${ARGS}
+and give it execute permissons: `chmod +x remote-notmuch.sh`
+
Now you can run `remote-notmuch.sh new`, or other notmuch commands. You
can call the script anything you like. (You could also call it `notmuch`
or symlink `~/bin/notmuch` to it for transparent usage.)
Now you can run `remote-notmuch.sh new`, or other notmuch commands. You
can call the script anything you like. (You could also call it `notmuch`
or symlink `~/bin/notmuch` to it for transparent usage.)