From: Michael Albinus <michael.albinus@gmx.de>
To: Noah Lavine <noah549@gmail.com>
Cc: tramp-devel@gnu.org, emacs-devel@gnu.org
Subject: Re: SCPC Detection Program
Date: Tue, 13 Apr 2010 23:01:07 +0200 [thread overview]
Message-ID: <877hobrrsc.fsf@gmx.de> (raw)
In-Reply-To: <k2g16d22e431004131256oc991c801k62d81bd8487c575c@mail.gmail.com> (Noah Lavine's message of "Tue, 13 Apr 2010 15:56:41 -0400")
Noah Lavine <noah549@gmail.com> 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.
next prev parent reply other threads:[~2010-04-13 21:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <x2m16d22e431003311930ob1f64d28t6ea61f44b5131f8e@mail.gmail.com>
2010-04-11 16:19 ` SCPC Detection Program Michael Albinus
2010-04-12 19:06 ` Noah Lavine
2010-04-12 19:18 ` Michael Albinus
2010-04-12 19:36 ` Noah Lavine
2010-04-12 19:55 ` Michael Albinus
2010-04-13 19:56 ` Noah Lavine
2010-04-13 21:01 ` Michael Albinus [this message]
2010-04-14 23:57 ` Noah Lavine
2010-04-15 3:31 ` Michael Albinus
2010-04-15 23:53 ` Noah Lavine
2010-04-22 11:24 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877hobrrsc.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=noah549@gmail.com \
--cc=tramp-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.