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: [email protected]
          Reporter: [email protected]

$ 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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to