Where you hear that? Deprecated in favor of what other tool? As far as I know, there's no other tool that lets you specify files with arbitrary server-side code, like the following example:
In the OpenSSH 8.0 release notes they state that "The scp protocol is outdated, inflexible and not readily fixed. We
recommend the use of more modern protocols like sftp and rsync for
file transfer instead.", which has been widely reported (so if you just searched Google for "scp deprecated" instead of trying to undermine the statement with nothing but a statement of doubt, it would have come up immediately) as an informal deprecation; afaik the only thing stopping them from formally deprecating it is a lack of a direct replacement (such as giving sftp a few more affordances).
> so if you just searched Google for "scp deprecated" instead of trying to undermine the statement with nothing but a statement of doubt, it would have come up immediately
I had looked it up with precisely those keywords[1] and nothing that seemed like scp was deprecated came up. However, I admit I didn't use Google.
Also, it wasn't a statement of doubt as much as it was a request for information and an expression of frustration in case it was true. Thank you for answering, by the way.