From: Michael Albinus <michael.albinus@gmx.de>
To: Filipp Gunbin <fgunbin@fastmail.fm>
Cc: 19702@debbugs.gnu.org
Subject: bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
Date: Mon, 02 Feb 2015 10:20:34 +0100 [thread overview]
Message-ID: <87y4ogk6u5.fsf@gmx.de> (raw)
In-Reply-To: <m24mrc86d8.fsf@fastmail.fm> (Filipp Gunbin's message of "Tue, 27 Jan 2015 20:45:39 +0300")
Filipp Gunbin <fgunbin@fastmail.fm> writes:
> Michael,
Hi Filipp,
> Release notes for openssh 6.7 [1] tell:
>
> * ssh(1): Add a %C escape sequence for LocalCommand and ControlPath
> that expands to a unique identifer based on a hash of the tuple of
> (local host, remote user, hostname, port). Helps avoid exceeding
> miserly pathname limits for Unix domain sockets in multiplexing
> control paths; bz#2220
>
> I changed `tramp-ssh-controlmaster-options' as follows:
>
> (setq tramp-ssh-controlmaster-options "-o ControlPath=%%C -o
> ControlMaster=auto -o ControlPersist=no")
>
> And it started working.
I have committed a patch to the emacs-24 branch which uses %C in
ControlPath if possible. Could you, pls, check? I have no openssh 6.7
installed, so I cannot test myself.
> The original value contained "%t.%%r@%%h:%%p". %r, %h and %p could be
> substituted by %C as the above doc says. But what about %t? It's a
> temporary file as I understand and is substituted by Tramp, not by ssh.
> Is it critical that it should be present in the resulting file name?
In the past there were problems when Tramp used the same ControlPath
like ssh connections started/stopped outside Emacs. That's why Tramp
uses its own one.
> Filipp
Best regards, Michael.
next prev parent reply other threads:[~2015-02-02 9:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-27 14:41 bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6 Filipp Gunbin
2015-01-27 16:06 ` Michael Albinus
2015-01-27 17:45 ` Filipp Gunbin
2015-02-02 9:20 ` Michael Albinus [this message]
2015-02-02 14:09 ` Filipp Gunbin
2015-02-02 15:16 ` Michael Albinus
2015-02-02 17:53 ` Filipp Gunbin
2015-02-03 9:45 ` Michael Albinus
2015-02-03 12:31 ` Filipp Gunbin
2015-02-03 12:43 ` Michael Albinus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4ogk6u5.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=19702@debbugs.gnu.org \
--cc=fgunbin@fastmail.fm \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.