diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-12-12 12:12:50 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-12-12 12:39:50 +0100 |
commit | d961f6e9069308927f4882978d95706f408ef944 (patch) | |
tree | a2caf82412b6dc15db425f0817dc4697f4cb84a4 | |
parent | 22ef303cdc7b6d5f7de35d3189fbf157093c258e (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 .
-rw-r--r-- | Changelog | 3 | ||||
-rw-r--r-- | README | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -25,6 +25,9 @@ interimap (0.5.5) upstream; - documentation: simplify SSL options in the sample configuration files. - README: suggest 'restrict,command="/usr/bin/doveadm exec imap"' as authorized_keys(5) options. + - README: suggest ControlPath=$XDG_RUNTIME_DIR/ssh-imap-%C for the SSH + transport (note that variable expansion is only available in OpenSSH + 8.4 and later). -- Guilhem Moulin <guilhem@fripost.org> Fri, 11 Dec 2020 14:55:53 +0100 @@ -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 |