openssh continues to process dash arguements after hostname

Markus Friedl markus at openbsd.org
Wed Apr 28 14:35:36 EST 2004


On Wed, Apr 28, 2004 at 02:02:33PM +1000, Mark Andrews wrote:
> 	No.  It was claimed  that it was for compatability with
> 	rsh.  Accepting flags on both side breaks compatibility.
> 
> 	"rsh -l user hostname -foo" will attempt to execute "-foo"
> 	"ssh -l user hostname -foo" will attempt to process "-foo" as
> 	flags.

ssh does this for almost 10 years and will continue to do so.

	ssh -v host -p 1234

is very common.




More information about the openssh-unix-dev mailing list