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 [email protected]?
Noah On Tue, Apr 13, 2010 at 5:01 PM, Michael Albinus <[email protected]> wrote: > Noah Lavine <[email protected]> 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. > _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
