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: Tue, 13 Apr 2010 23:01:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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]