* tramp.texi (Frequently Asked Questions): Precise, how to define
an own ControlPath.
This commit is contained in:
parent
cabdbff0cf
commit
a7bef50586
2 changed files with 18 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-04-16 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* tramp.texi (Frequently Asked Questions): Precise, how to define
|
||||
an own ControlPath.
|
||||
|
||||
2013-04-15 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* tramp.texi (Frequently Asked Questions): New item for
|
||||
|
|
|
@ -3139,19 +3139,27 @@ 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:
|
||||
If your @command{ssh} version supports the @code{ControlPersist}
|
||||
option, you could customize the variable
|
||||
@code{tramp-ssh-controlmaster-options} to use your @code{ControlPath},
|
||||
for example:
|
||||
|
||||
@lisp
|
||||
(setq tramp-ssh-controlmaster-options
|
||||
(concat
|
||||
"-o ControlPath=/tmp/ssh-ControlPath-%%r@@%%h:%%p "
|
||||
"-o ControlMaster=auto -o ControlPersist=no"))
|
||||
"-o ControlMaster=auto -o ControlPersist=yes"))
|
||||
@end lisp
|
||||
|
||||
Note, that "%r", "%h" and "%p" must be encoded as "%%r", "%%h" and
|
||||
"%%p", respectively.
|
||||
"%%p", respectively. The entries of @code{ControlPath},
|
||||
@code{ControlMaster} and @code{ControlPersist} can be removed from
|
||||
this setting, if they are configured properly in your
|
||||
@file{~/.ssh/config}:
|
||||
|
||||
@lisp
|
||||
(setq tramp-ssh-controlmaster-options "")
|
||||
@end lisp
|
||||
|
||||
|
||||
@item
|
||||
|
|
Loading…
Add table
Reference in a new issue