From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#70901: 30.0.50; Tramp doesn't use ControlMaster even with (setq tramp-use-connection-share nil) Date: Tue, 14 May 2024 22:02:35 +0300 Message-ID: <19d0563d-2778-4e27-92b0-03a86c8e1473@gutov.dev> References: <5959e6f4-607d-4a8f-8e49-fbdd9b438af1@gutov.dev> <87o79ags7m.fsf@gmx.de> <44185444-8a6a-4924-88f9-853f65a1c61a@gutov.dev> <87r0e4g428.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19233"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70901@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 14 21:03:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s6xQo-0004jD-Na for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 May 2024 21:03:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6xQV-0003I5-V7; Tue, 14 May 2024 15:03:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6xQT-0003HC-OV for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 15:03:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6xQT-00015m-F9 for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 15:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6xQU-0003hd-CO for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 15:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 May 2024 19:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70901 X-GNU-PR-Package: emacs Original-Received: via spool by 70901-submit@debbugs.gnu.org id=B70901.171571337014215 (code B ref 70901); Tue, 14 May 2024 19:03:02 +0000 Original-Received: (at 70901) by debbugs.gnu.org; 14 May 2024 19:02:50 +0000 Original-Received: from localhost ([127.0.0.1]:40906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6xQI-0003hD-2e for submit@debbugs.gnu.org; Tue, 14 May 2024 15:02:50 -0400 Original-Received: from fout5-smtp.messagingengine.com ([103.168.172.148]:35539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6xQD-0003gw-F3 for 70901@debbugs.gnu.org; Tue, 14 May 2024 15:02:48 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 8E62A1380384; Tue, 14 May 2024 15:02:38 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 14 May 2024 15:02:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1715713358; x=1715799758; bh=/Dc9+2sjGNitwFnZ+52DQoFPt6bKU2/MGD+a872dx7M=; b= T5SjLFqmJ8kyQnJaipPbAY1uq5G2h3Tlj62d3tvfNZWqd+g/PD1KRkjojY07jhJ6 3hVki8xd/pbFZlYRExiJDtX1VwrdU3nOVnKR208SvKSPkmVvD4HICvhJQyc8qLUz ifp3tDT+DiHdynFHz2paalTHs1AMG+19DYkBCFCBOYjchZOl8nmOB6MOeOnFQOg3 AwWyBzJ32x18TPVyJKpO7RQXhwMkGCm18pFQN5hO+yq2y19KrTWp2/dC/JBywV58 Q+OuI2Z0KYkm/o4UBkBKEFaFI2mqXYsGrpSCeipW3JGLXK63EvIt74UPcyPaBC/N cfMUfMh62BVuv/UZmAAo0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715713358; x= 1715799758; bh=/Dc9+2sjGNitwFnZ+52DQoFPt6bKU2/MGD+a872dx7M=; b=W YB01XjvVdicxUoitgZe3RBUvPFErUn3i8C+cj62IMRV/9Ioq9FliKnmnGHMjPETj nCSminK67bZFM5ytM96g6/WjOpHYSQRBf9NOe4icnx0YJ2pF4xY7BvDfMeZ7ixD7 MThJVODu8qOUj/NBCZNwNR+apilEbIsGIfLspfK2n0gFuvkFkA4zCMJpYs+/IpLc 2uXqGgJ3koXxpqs9mbha8D2bTsnaO98V4Bk1tmXqx3W6aX1NGjds7/zT14Fk6w/H /NP5YQEnP5yqXDCDPHvMf9jto35T7A+Pf5yxBcO4A9jOhqiok4Z7QrQN8Y1SFyTG x1ThvC9Dge6qDASpmRtfQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegiedgudeftdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeeuteduhfeitdejkeeuffefhefgffevveetjedthfetteegtefhveeujeek jefgveenucffohhmrghinhepghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 May 2024 15:02:37 -0400 (EDT) Content-Language: en-US In-Reply-To: <87r0e4g428.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285043 Archived-At: Hi Michael, On 14/05/2024 12:01, Michael Albinus wrote: >>> tramp-use-connection-share can have three different values, t, nil or >>> `suppress'. And in case it is nil, nothing wrt ControlMaster will be >>> added to the ssh call. >> >> That was the expectation. I experimented with setting ControlMaster >> settings through tramp-ssh-controlmaster-options as well - to the same >> effect - but we should probably concentrate on just one scenario in >> this report. >> >>> Could you pls set tramp-verbose to 6, rerun your test, and show the >>> Tramp debug buffer? >> >> Attached, one scenario in an 'emacs -Q' >> session. tramp-use-connection-share and tramp-verbose are the only two >> settings there. >> >> Hope there's nothing sensitive in here (it's a GNU server). > > No, I don't believe so. > > The Tramp ssh call looks like it should. Tramp doesn't care about > ControlMaster with your settings: > >> 14:41:04.227455 tramp-maybe-open-connection (3) # Sending command ‘exec ssh -l dgutov -e none fencepost.gnu.org || exit’ >> 14:41:04.227485 tramp-send-command (6) # exec ssh -l dgutov -e none fencepost.gnu.org || exit >> 14:41:06.037182 tramp-process-actions (6) # >> Last login: Mon May 13 07:39:46 2024 from 82.102.62.129 >> dgutov@fencepost:~$ Shouldn't it then take advantage of ControlMaster, which has been configured for this host? ssh logs in to the remote server very quickly from the terminal with my ControlMaster configuration. But I don't see any speed improvement in Tramp operations from it. For example, I evaluate just 'ls' using M-& (async-shell-command), and the time it takes to complete doesn't seem to be affected by the contents of my ~/.ssh/config.