Mailing List Archive

[Bug 3660] New: Prevent disastrous unintended local copying
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@mindrot.org
Reporter: jidanni@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs