openssh continues to process dash arguements after hostname
Mark Andrews
marka at isc.org
Wed Apr 28 10:03:52 EST 2004
Processing dash arguments after the hostname is inconsistant with
getopt() usage. It is also inconsistant with other ssh/rsh
implementations. It is also not documented.
openssh accepts treats "ssh host -l user" as "ssh -l user host"
when infact it should be attemption to execute "-l user" on "host"
as the original user.
It looks like someone wanted to be "compatible" with Linux's
broken getopt() implementation.
More information about the openssh-unix-dev
mailing list