openssh-unix-dev May 2011 archive
Main Archive Page > Month Archives  > openssh-unix-dev archives
openssh-unix-dev: Re: ssh command line option processing behavio

Re: ssh command line option processing behaviour

From: Damien Miller <djm_at_nospam>
Date: Thu May 12 2011 - 01:19:13 GMT
To: Cyrille Lefevre <cyrille.lefevre-lists@laposte.net>

On Thu, 12 May 2011, Cyrille Lefevre wrote:

> ssh -o BatchMode=no -o BatchMode=yes host cmd arg...
>
> the unix common expected behaviour is to have BatchMode = true, while
> ssh says BatchMode = false.
>
> how about to change the ssh command line processing bahaviour ?

No. The command-line behaviour is consistent with the configuration
file parsing logic and is widely depended upon.

The "common expected behaviour" is hardly universal; while many programs
do it, others will detect the inconsistency fatally error and some will
do the wrong thing.

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev