Variable: tramp-use-ssh-controlmaster-options
tramp-use-ssh-controlmaster-options is a customizable variable defined
in tramp-sh.el.gz.
Value
t
Documentation
Whether to use tramp-ssh-controlmaster-options(var)/tramp-ssh-controlmaster-options(fun).
Set it to t, if you want Tramp to apply these options.
Set it to nil, if you use Control* or Proxy* options in your ssh
configuration.
Set it to suppress if you want to disable settings in your
"~/.ssh/config¸".
This variable was added, or its default value changed, in Emacs 29.2.
Probably introduced at or before Emacs version 24.4.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defcustom tramp-use-ssh-controlmaster-options (not (eq system-type 'windows-nt))
"Whether to use `tramp-ssh-controlmaster-options'.
Set it to t, if you want Tramp to apply these options.
Set it to nil, if you use Control* or Proxy* options in your ssh
configuration.
Set it to `suppress' if you want to disable settings in your
\"~/.ssh/config¸\"."
:group 'tramp
:version "29.2"
:type '(choice (const :tag "Set ControlMaster" t)
(const :tag "Don't set ControlMaster" nil)
(const :tag "Suppress ControlMaster" suppress))
;; Check with (safe-local-variable-p 'tramp-use-ssh-controlmaster-options 'suppress)
:safe (lambda (val) (and (memq val '(t nil suppress)) t)))