summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/misc/tramp.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 42a3156c1e9..94f194ed959 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -3139,6 +3139,20 @@ already an @command{ssh} connection to that host. Further
process on that host, will reuse that initial @command{ssh}
connection.
+If you know that your @code{ControlPath} settings won't disturb
+@value{tramp}, you could customize the variable
+@code{tramp-ssh-controlmaster-options} like this:
+
+@lisp
+(setq tramp-ssh-controlmaster-options
+ (concat
+ "-o ControlPath=/tmp/ssh-ControlPath-%%r@@%%h:%%p "
+ "-o ControlMaster=auto -o ControlPersist=no"))
+@end lisp
+
+Note, that "%r", "%h" and "%p" must be encoded as "%%r", "%%h" and
+"%%p", respectively.
+
@item
File name completion does not work with @value{tramp}