From dbde58a60313a2bccb24f6b928a7ef2950086f25 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 15 Apr 2013 15:42:29 +0200 Subject: [PATCH] net/tramp.texi: Improve last change. --- doc/misc/tramp.texi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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} -- 2.39.5