aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-12-12 12:12:50 +0100
committerGuilhem Moulin <guilhem@fripost.org>2020-12-12 12:39:50 +0100
commitd961f6e9069308927f4882978d95706f408ef944 (patch)
treea2caf82412b6dc15db425f0817dc4697f4cb84a4 /README
parent22ef303cdc7b6d5f7de35d3189fbf157093c258e (diff)
README: suggest ControlPath=$XDG_RUNTIME_DIR/ssh-imap-%C for the SSH transport
Not a good idea to use a world-writable directory, see ssh_config(5)… Note that variable expansion is only available in OpenSSH 8.4 and later, cf. https://bugzilla.mindrot.org/show_bug.cgi?id=3140 .
Diffstat (limited to 'README')
-rw-r--r--README2
1 files changed, 1 insertions, 1 deletions
diff --git a/README b/README
index cee8443..d2b8942 100644
--- a/README
+++ b/README
@@ -59,7 +59,7 @@ type=imaps.
Host imap.example.net
IdentityFile ~/.ssh/id-interimap
IdentitiesOnly yes
- ControlPath /run/shm/%u@%n
+ ControlPath ${XDG_RUNTIME_DIR}/ssh-imap-%C
ControlMaster auto
ControlPersist 10m
StrictHostKeyChecking yes