From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs 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 Message-ID: <87y4ogk6u5.fsf@gmx.de> References: <87k308fbsm.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422868873 11600 80.91.229.3 (2 Feb 2015 09:21:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2015 09:21:13 +0000 (UTC) Cc: 19702@debbugs.gnu.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 10:21:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YIDBv-0007k9-Hx for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 10:21:11 +0100 Original-Received: from localhost ([::1]:53625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIDBu-0003bA-M0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 04:21:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIDBr-0003aE-GG for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 04:21:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIDBn-00051y-Fe for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 04:21:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIDBn-00051t-9P for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 04:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YIDBm-0007Lg-PF for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 04:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Feb 2015 09:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19702 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19702-submit@debbugs.gnu.org id=B19702.142286884628202 (code B ref 19702); Mon, 02 Feb 2015 09:21:02 +0000 Original-Received: (at 19702) by debbugs.gnu.org; 2 Feb 2015 09:20:46 +0000 Original-Received: from localhost ([127.0.0.1]:60036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIDBV-0007Km-7t for submit@debbugs.gnu.org; Mon, 02 Feb 2015 04:20:45 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:57395) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIDBS-0007KZ-5p for 19702@debbugs.gnu.org; Mon, 02 Feb 2015 04:20:43 -0500 Original-Received: from detlef.gmx.de ([87.146.50.120]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LaWlT-1XnsIm2KEB-00mI0j; Mon, 02 Feb 2015 10:20:35 +0100 In-Reply-To: (Filipp Gunbin's message of "Tue, 27 Jan 2015 20:45:39 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:cjGKUlTQWUZ6TgcZp7QaVIfTjljg535eTsvRess7flqPtRMiAw/ ctxLk6W7+IlFUntPNLu+Fcj+T/dRu1wccLY3jO/Z8o84Hq8BuGq0H+3oSYapa0LEpjNcWO8 QFH7tO+L20oIGttAwTm6kU4MKgmbYrmasxFY//aLyr2WOaWiFDfQ3mwC49epE2xd7WmR/HY jx0IIahn6DPd2vPbULYUw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98970 Archived-At: Filipp Gunbin 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.