GNU bug report logs - #70901
30.0.50; Tramp doesn't use ControlMaster even with (setq tramp-use-connection-share nil)

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dmitry <at> gutov.dev>

Date: Mon, 13 May 2024 02:01:02 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 70901 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 70901 <at> debbugs.gnu.org
Subject: Re: bug#70901: 30.0.50; Tramp doesn't use ControlMaster even with
 (setq tramp-use-connection-share nil)
Date: Tue, 14 May 2024 11:01:35 +0200
Dmitry Gutov <dmitry <at> gutov.dev> writes:

> Hi Michael!

Hi Dmitry,

>> 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 <at> fencepost:~$ 

Best regards, Michael.




This bug report was last modified 1 year and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.