From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Filipp Gunbin 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 17:09:25 +0300 Message-ID: References: <87k308fbsm.fsf@gmx.de> <87y4ogk6u5.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422886220 9260 80.91.229.3 (2 Feb 2015 14:10:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2015 14:10:20 +0000 (UTC) Cc: 19702@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 15:10:19 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 1YIHhj-0007e4-0J for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 15:10:19 +0100 Original-Received: from localhost ([::1]:54874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIHhc-0005oS-UZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 09:10:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIHhX-0005mj-V8 for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 09:10:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIHhT-0002CD-Dd for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 09:10:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIHhS-0002Af-PZ for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 09:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YIHhS-00079L-5g for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 09:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Feb 2015 14:10: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.142288617227429 (code B ref 19702); Mon, 02 Feb 2015 14:10:02 +0000 Original-Received: (at 19702) by debbugs.gnu.org; 2 Feb 2015 14:09:32 +0000 Original-Received: from localhost ([127.0.0.1]:60120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIHgx-00078K-U0 for submit@debbugs.gnu.org; Mon, 02 Feb 2015 09:09:32 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40739) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIHgv-00078C-V2 for 19702@debbugs.gnu.org; Mon, 02 Feb 2015 09:09:30 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E4891209BB for <19702@debbugs.gnu.org>; Mon, 2 Feb 2015 09:09:29 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 02 Feb 2015 09:09:29 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= x-sasl-enc:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=mesmtp; bh=jTrH3cRfNoZP rhq5766xFqlHEpo=; b=hlh96dwGANpbOAxOXoNn+KN6jV6BJneVUjEPplGPs6Yn qcfmIIf6oXufUj43T9EtiT9ZYRsGfymj1BBQuI7IG21Gk3LVNROcg0aI44YSkvBf FqzVN7JX09/xw9IlL9/5ujgShUP69TY7ZL+jKAwWo0nHMHukfMauLRviDydspEw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:cc:subject:references :date:in-reply-to:message-id:mime-version:content-type; s= smtpout; bh=jTrH3cRfNoZPrhq5766xFqlHEpo=; b=MvjcTX6faoMNzgyoDjwL XxvQk8ws5BVrqTwX9R3Yb5axevcNghfgusl5wBkGoZDg1EXlpBgQkQo2Hpaf0f0C gQDyqCCIy0weetFblyZcuKsEjGTB8vE0uWXbt1LvNkBGJkuRAnoHKLaU1FmVElMC e9EvzAF3ZIu8JZY4G4H1Yh0= X-Sasl-enc: 59FXGAm2W13YwDcqzODgWQb0VsK80fxOCV+Yq40oXVcc 1422886169 Original-Received: from fgunbin.local (unknown [94.25.218.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 586F56801EB; Mon, 2 Feb 2015 09:09:29 -0500 (EST) In-Reply-To: <87y4ogk6u5.fsf@gmx.de> (Michael Albinus's message of "Mon, 02 Feb 2015 10:20:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) 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:98979 Archived-At: Michael, On 02/02/2015 10:20 +0100, Michael Albinus wrote: > 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. Thanks, but it didn't work: 17:02:55.588956 tramp-send-command (6) # exec ssh -l root -o ControlMaster=auto -o ControlPath=/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.54213PO4.%C -o ControlPersist=no -e none 17:02:55.606731 tramp-process-one-action (5) # Call `tramp-action-process-alive' 17:02:55.606825 tramp-process-actions (6) # ControlPath too long^ 17:02:55.606932 tramp-process-sentinel (5) # Sentinel called: `#*>' `exited abnormally with code 255' 17:02:55.610263 tramp-process-actions (1) # File error: Tramp failed to connect. If this happens repeatedly, try `M-x tramp-cleanup-this-connection' 17:02:58.732912 tramp-maybe-open-connection (3) # Opening connection for root@ using ssh...failed >> 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. Aren't values produced by %C supposed to be unique? Then probably the temporary file isn't needed. Filipp