[Bug 1448] New: Report wrong command-line options

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Mar 18 03:25:25 EST 2008


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 at mindrot.org                                  
        ReportedBy: bonniot at 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.


More information about the openssh-bugs mailing list