[Top][All Lists]

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

Re: SCPC Detection Program

From: Noah Lavine
Subject: Re: SCPC Detection Program
Date: Wed, 14 Apr 2010 19:57:39 -0400

Hi Michael,

That sounds excellent. I'll try to submit a patch soon to implement
that. Is it correct that patches like that should go to


On Tue, Apr 13, 2010 at 5:01 PM, Michael Albinus <address@hidden> wrote:
> Noah Lavine <address@hidden> writes:
>> Hi Michael,
> Hi Noah,
>> I was thinking about it, and the help string idea does seem better
>> than version numbers, especially if it turns out that several
>> different SSH implementations use similarly-formatted help strings. I
>> think I will check the formatting of a few different version and help
>> strings before coding more.
>> However, I thought of an alternate possibility. What if tramp first
>> saves the version string of ssh, then tries a connection with
>> ControlMaster to see if it works, and then remembers whether this
>> worked or not? Then it would choose a method for future connections
>> based on the results of the test until the version string changed, at
>> which point it would experiment again.
>> That way it would have to run a test connection only when the user
>> updated their ssh installation, which seems infrequent enough to be
>> reasonable, and it would have the advantage that we wouldn't have to
>> keep any sort of whitelist of ssh programs or help string formats.
> I think it is not worth the hassle to let a connection fail, and to
> apply book-keeping of ssh versions. Ted's proposal seems to fit best, I
> believe.
>> Noah
> Best regards, Michael.

reply via email to

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