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

ssh command line option processing behaviour

From: Cyrille Lefevre <cyrille.lefevre-lists_at_nospam>
Date: Wed May 11 2011 - 22:19:03 GMT
To: openssh-unix-dev@mindrot.org

Hi,

usualy, in the unix world, while processing command line options, unix
programs keep the last option value, overriding config file options or
previous command line ones, unfortunately, ssh only keep the first
option processed.

ex. :

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 ?

Regards,

Cyrille Lefevre
-- mailto:Cyrille.Lefevre-lists@laposte.net _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev