TIL that the scp command does not, by default, compress files it transfers, and that you need to add the -C flag to make it do that, and by doing that I have sped up my transfer speed about 40x, and without this knowledge I have probably wasted literally days of my life waiting for things in the past.
@jimbob Also scp is actually deprecated which keeps boggling my mind.

@hynek @jimbob what is the source for this? What’s the “official” replacement? I would have assumed even rsync was built on scp

That said, I see no reason to use scp over rsync. Yes , I can never remember all the flags, but that’s what shell aliases are for, since you only need a small handful of combinations to do anything.

@tjc @jimbob Here’s some details: https://lwn.net/Articles/835962/

Not sure at this point if the sftp-based scp that’s teased in the article and IIRC was linked in this thread is more of a stopgap or the new real thing. I personally prefer scp too because it’s just simpler and less dangerous to use.

Deprecating scp

The scp command, which uses the SSH protocol to copy files between machines, is deeply wired i [...]

LWN.net