Mailing List Archive

[Bug 1448] New: Report wrong command-line options
https://bugzilla.mindrot.org/show_bug.cgi?id=1448

Summary: Report wrong command-line options
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.6p1
Platform: Other
OS/Version: Linux
Status: NEW
Keywords: low-hanging-fruit
Severity: normal
Priority: P2
Component: scp
AssignedTo: bitbucket@mindrot.org
ReportedBy: bonniot@gmail.com


It seems that currently scp just silently ignores command-line options
that it does not understand. That is surprising and possibly dangerous
or damageable (since once will expect the option to have been taken
into account).

It seems pretty standard for a tool to fail on unknown options, but
since that might break existing scripts, maybe starting with reporting
a warning would be the best compromise.

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs