emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCPC Detection Program


From: Michael Albinus
Subject: Re: SCPC Detection Program
Date: Sun, 11 Apr 2010 18:19:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Noah Lavine <address@hidden> 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/address@hidden:%p

> Noah Lavine

Best regards, Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]