Hi, Just a head-up: snaps currently contain a set of changes[1] to make scp(1) use the SFTP protocol by default. This has a number of advantages, mostly relating to the improved security that comes from avoiding the use of a protocol that shambled out of the 1980s (SCP/RCP).
A certain amount in incompatibility is to be expected: the SCP/RCP protocol implicitly uses the remote shell for glob expansion, and this can make quoting/escpaing problematic as it gets expanded twice, by both the local and remote shells. SFTP-based scp(1) avoids this and functions a lot more like what you'd typically expect. Given this, I consider this an improvement and so I'm leaning towards not trying to make the new code bug-compatible with SCP/RCP quoting. Note that the code supporting scp -3 over SFTP is very new and not very well-tested. So if you are a user of this feature then please give it a try. Please report any incompatibilities or bugs that you encounter here (tech@), to bugs@ or to openssh@. Thanks, Damien [1] https://github.com/djmdjm/openssh-wip/pull/7