]> git.eshelyaron.com Git - emacs.git/commitdiff
net/tramp.texi: Improve last change.
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 15 Apr 2013 13:42:29 +0000 (15:42 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 15 Apr 2013 13:42:29 +0000 (15:42 +0200)
doc/misc/tramp.texi

index 42a3156c1e94e51b29a817af69327e374d9d0305..94f194ed959ee17b69546a44769cc383640902df 100644 (file)
@@ -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}