Noah Lavine <[email protected]> writes:

> Dear Tramp Developers,

Hi,

> I recently started using Tramp and learned about the different access
> methods. As I understand it, the `scpc` method is superior to the
> `ssh` method, but can't be set as default because of old versions of
> ssh that don't support the ControlMaster argument.
>
> It seems to me that it would be better if Tramp could automatically
> detect whether the version of ssh on a computer supported the
> ControlMaster argument and use scpc if it were possible. Therefore, I
> started working on a program to detect this based on the SSH version
> string. The following program correctly detects the presence of an SSH
> version greater than 4.0 on my computer:

I am not too happy in detecting features by checking version numbers of
programs. This will work for a while, and this will generate problems
later on, likely.

Maybe it is sufficient to add a hint to the Tramp manual, that the
following setting in the ssh config file is useful, when applicable by
the underlying ssh version:

Host *
        ControlMaster auto
        ControlPath   /tmp/%...@%h:%p

> Noah Lavine

Best regards, Michael.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to