disabling local-to-local transfers?

Samuel Thibault samuel.thibault at ens-lyon.org
Sat Jul 25 03:34:44 AEST 2026


Hello,

Jim Knoble, le ven. 24 juil. 2026 07:14:38 -0700, a ecrit:
> > On Jul 24, 2026, at 04:25, Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
> > 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.
> 
> This sounds like a job for an alias or a wrapper script that finds bare hostnames in the scp command line and adds a missing trailing ':' before invoking the real scp.

No, you don't want "smart" tools which try to guess what you actually
meant, and sometimes get thing wrong and fail horribly.

Samuel


More information about the openssh-unix-dev mailing list