disabling local-to-local transfers?

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Jul 24 21:19:34 AEST 2026


Hello,

Are local-to-local "transfers" really a useful feature?

  scp foo my.server.com

forgetting to type the trailing ':' creates a "my.server.com" file
instead of producing an error.

I have *never* seen this feature useful to me, while I get hit by the
issue from times to times, and I have to remove the "my.server.com"
file getting created. Worse, it did cost me a lot of time this morning
because I didn't notice that the file didn't actually get transferred,
and thus I used a previous version, which submitted 3 days of work to my
server...

Could there at least be an option which we can put in one's default
config or shell aliases to disable the local-to-local transfer and
produce an error instead?

With regards,
Samuel


More information about the openssh-unix-dev mailing list