ssh command line option processing behaviour

Cyrille Lefevre cyrille.lefevre-lists at
Thu May 12 08:19:03 EST 2011


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 ?


Cyrille Lefevre
mailto:Cyrille.Lefevre-lists at

More information about the openssh-unix-dev mailing list