[Bug 3660] New: Prevent disastrous unintended local copying
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Fri Jan 26 15:48:50 AEDT 2024
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=3660
            Bug ID: 3660
           Summary: Prevent disastrous unintended local copying
           Product: Portable OpenSSH
           Version: 9.6p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: scp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jidanni at jidanni.org
$ scp a b c:
but if our hand slips and we only do
$ scp a b
we clobber b.
Instead it should say
"To copy locally, please use cp(1)" (which one can alias to cp -i too!)
Or it could say "are you sure?" etc.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
    
    
More information about the openssh-bugs
mailing list