#603778 safety catch to prevent accidental local copying

Package:
openssh-client
Source:
openssh
Description:
secure shell (SSH) client, for secure access to remote machines
Submitter:
Date:
2010-11-17 05:45:05 UTC
Severity:
wishlist
#603778#5
Date:
2010-11-17 05:43:15 UTC
From:
To:
As scp is for remote copying, can we please have a safety catch
installed that will prevent local copying in case one mistypes something.
$ set /home/jidanni/jidanni.org/location/dj.kmz
$ scp $1 jidanni.org;$1
bash: /home/jidanni/jidanni.org/location/dj.kmz: Permission denied
$ scp $1 jidanni.org:$1

Maybe have --yes-I-mean-local to enable local copying.

Note there is no cp -i protection one can use.

Maybe have a .ssh option that can turn on/off local copying.