[Top][All Lists]

[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: Mon, 12 Apr 2010 21:18:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Noah Lavine <address@hidden> writes:

> Michael,

Hi Noah,

> Is there a commonly-used way to discover the capabilities of a system
> other than version numbers? Talking to the system package manager
> would also work for most (although not all) cases, and I could look
> into writing a connection to PackageKit if that seemed like it could
> work.
> It would also be really cool if the ssh program had a way to tell us
> what command-line arguments it accepted, but I don't see any way to do
> that short of asking it to open up a test connection and seeing if it
> gave an error message. That might actually be a reasonable way to do
> this, if you defer the checking until the first use of ssh - first try
> opening a connection with ControlMaster, and if that fails, try again
> without it.

Maybe "ssh --help", and checking for the "-M" option, might be sufficient.
Trying a "test connection" is not mature, because you don't know which
test host to connect to. "localhost" does not need to run the sshd daemon.

> Noah

Best regards, Michael.

reply via email to

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