From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juliusz Chroboczek Newsgroups: gmane.emacs.bugs Subject: bug#17653: 24.3; Tramp doesn't detect ssh ControlMaster Date: Sun, 01 Jun 2014 13:52:27 +0200 Message-ID: <87mwdwx2x0.wl%jch@pps.univ-paris-diderot.fr> References: <87k392kpse.wl%jch@pps.univ-paris-diderot.fr> <877g51vy5z.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1401623611 12852 80.91.229.3 (1 Jun 2014 11:53:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2014 11:53:31 +0000 (UTC) Cc: 17653@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 01 13:53:24 2014 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 1Wr4KJ-0007cZ-Ij for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jun 2014 13:53:23 +0200 Original-Received: from localhost ([::1]:40475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr4KJ-00017l-0S for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jun 2014 07:53:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr4K8-00015i-C4 for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 07:53:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wr4Jy-0003An-Om for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 07:53:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr4Jy-0003Aj-L8 for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 07:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wr4Jx-0001XJ-SJ for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 07:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juliusz Chroboczek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jun 2014 11:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17653 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17653-submit@debbugs.gnu.org id=B17653.14016235555859 (code B ref 17653); Sun, 01 Jun 2014 11:53:01 +0000 Original-Received: (at 17653) by debbugs.gnu.org; 1 Jun 2014 11:52:35 +0000 Original-Received: from localhost ([127.0.0.1]:39479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr4JW-0001WQ-Ib for submit@debbugs.gnu.org; Sun, 01 Jun 2014 07:52:34 -0400 Original-Received: from korolev.univ-paris7.fr ([194.254.61.138]:35095) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr4JT-0001WG-O0 for 17653@debbugs.gnu.org; Sun, 01 Jun 2014 07:52:32 -0400 Original-Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/46573) with ESMTP id s51BqUbD001710; Sun, 1 Jun 2014 13:52:30 +0200 Original-Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 0B66A12810A; Sun, 1 Jun 2014 13:52:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Original-Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id dk_cAkhK_K5v; Sun, 1 Jun 2014 13:52:24 +0200 (CEST) Original-Received: from ijon.pps.univ-paris-diderot.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id B5E57128106; Sun, 1 Jun 2014 13:52:24 +0200 (CEST) In-Reply-To: <877g51vy5z.fsf@gmx.de> User-Agent: Wanderlust/2.15.9 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Sun, 01 Jun 2014 13:52:30 +0200 (CEST) X-Miltered: at korolev with ID 538B13FE.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 538B13FE.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 538B13FE.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham 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:89853 Archived-At: >> The issue is that tramp-detect-ssh-controlmaster looks for the fixed >> string "Missing ControlMaster argument", while my version of ssh returns >> a differently worded error message. > The native way to fix this in Tramp is tweaking `tramp-methods'. Add a > new method "myssh" with your preferred arguments. I know I can tweak it -- that's Emacs, I can advise any function -- but that's not the issue. I expect Emacs to work optimally out of the box on an up-to-date Debian testing box, and this is not the case. Ideally, tramp should use a less fragile method to check for ControlMaster support; if that's not possible, it should at least use a regexp that's permissive enough to work on recent OpenSSH. Please fix Emacs to detect ControlMaster out of the box with recent Debian. -- Juliusz