From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp and ssh control path
Date: Mon, 15 Apr 2013 10:48:08 -0400 [thread overview]
Message-ID: <jwvip3ndfup.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 871uab9alp.fsf@gmx.de
Hmm.. I think the issue is as follows: if ControlPersist is no, then the
"old-style" control-master is used (i.e. the first session acts as
master), whereas otherwise, the new style (i.e. the master is a process
separate from the session processes, so the first session is not
special).
If the user has set ControlMaster in his ssh config but with
ControlPersist=no, then we might not want to use his control-master, and
Tramp is right to fiddle with ControlPath.
But if the user has ControlPersist enabled in his ssh config, then the
best value for tramp-ssh-controlmaster-options will usually be "".
> (setq tramp-ssh-controlmaster-options
> (concat
> "-o ControlPath=/tmp/ssh-ControlPath-%%r@%%h:%%p "
> "-o ControlMaster=auto -o ControlPersist=no"))
Why ControlPersist=no?
Stefan
next prev parent reply other threads:[~2013-04-15 14:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 12:38 Tramp and ssh control path Suvayu Ali
2013-04-12 9:34 ` Michael Albinus
2013-04-14 23:58 ` Suvayu Ali
2013-04-15 7:52 ` Michael Albinus
2013-04-15 8:24 ` Suvayu Ali
2013-04-15 8:53 ` Michael Albinus
2013-04-15 12:10 ` Stefan Monnier
2013-04-15 12:30 ` Michael Albinus
2013-04-15 13:39 ` Michael Albinus
2013-04-15 14:48 ` Stefan Monnier [this message]
2013-04-16 8:08 ` Michael Albinus
2013-04-15 16:09 ` Suvayu Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvip3ndfup.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).