(Sorry, I hate that it has a political reference, but it's really how I feel about this. How the heck is that error message supposed to mean anything to anyone?)
sh: /opt/libexec/sftp-server: not found
scp: Connection closed
The -O resolution works.
semiquaver•2mo ago
PunchyHamster•2mo ago
> The legacy SCP protocol (selected by the -O flag) requires execution of the remote user's shell to perform glob(3) pattern matching. This requires careful quoting of any characters that have special meaning to the remote shell, such as quote characters.
so I guess it is defending about theoretical problem where you use sftp-compatible quoting that silently breaks if you use same commands against scp script, still would be nice to have global config for scp fallback.
wahern•2mo ago
yjftsjthsd-h•2mo ago