all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 70901@debbugs.gnu.org
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	[thread overview]
Message-ID: <19d0563d-2778-4e27-92b0-03a86c8e1473@gutov.dev> (raw)
In-Reply-To: <87r0e4g428.fsf@gmx.de>

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.





  reply	other threads:[~2024-05-14 19:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13  2:00 bug#70901: 30.0.50; Tramp doesn't use ControlMaster even with (setq tramp-use-connection-share nil) Dmitry Gutov
2024-05-13  6:07 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]   ` <44185444-8a6a-4924-88f9-853f65a1c61a@gutov.dev>
2024-05-14  9:01     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-14 19:02       ` Dmitry Gutov [this message]
2024-05-15  8:17         ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-15 14:45           ` Dmitry Gutov
2024-05-15 18:15             ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-15 19:55               ` Dmitry Gutov
2024-05-16  9:42                 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-16 19:50                   ` Dmitry Gutov
2024-05-17 14:57                     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18  2:29                       ` Dmitry Gutov
2024-05-18 11:19                         ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18 14:11                           ` Dmitry Gutov
2024-05-18 17:00                             ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18 17:02                               ` Dmitry Gutov
2024-05-18 17:47                                 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-19  0:07                                   ` Dmitry Gutov
2024-05-23 16:25                                     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-24 19:12                                       ` Dmitry Gutov
2024-05-25  9:42                                         ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-19  0:49                 ` Dmitry Gutov

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=19d0563d-2778-4e27-92b0-03a86c8e1473@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=70901@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.