Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: scp protocol error on multiple file copy?



On Wed, 30 Oct 2019, John D. Baker wrote:

> used a command line like:
> 
>   $ scp -p buildhost:"/path/to/sets/[bem]* /path/to/sets/text.tgz /path/to/kernel/netbsd-CUSTOM.gz" .
> 
> to copy relevant sets and kernel to the machine's local disk.
> 
> Today when I tried my usual procedure to update this host, I instead got:
> 
>   protocol error: filename does not match request

I added the "-T" switch (disable strict filename checking) and that made
it work.

I'll need to check, but as I use 'ksh' as login shell it would be nice
if ksh/bash filename-generation [ !(), @(), etc. ] could be used.  Maybe
it's only available in interactive shells?

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index