[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and ssh control path
From: |
Stefan Monnier |
Subject: |
Re: Tramp and ssh control path |
Date: |
Mon, 15 Apr 2013 10:48:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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
- Tramp and ssh control path, Suvayu Ali, 2013/04/11
- Re: Tramp and ssh control path, Michael Albinus, 2013/04/12
- Re: Tramp and ssh control path, Suvayu Ali, 2013/04/14
- Re: Tramp and ssh control path, Stefan Monnier, 2013/04/15
- Re: Tramp and ssh control path, Michael Albinus, 2013/04/15
- Re: Tramp and ssh control path, Michael Albinus, 2013/04/15
- Re: Tramp and ssh control path,
Stefan Monnier <=
- Re: Tramp and ssh control path, Michael Albinus, 2013/04/16
- Re: Tramp and ssh control path, Suvayu Ali, 2013/04/15