Comment by spockz
I’m not sure why, but just like with scp, I’ve achieved significant speeds ups by tarring the directory first (optionally compressing it), transferring and then decompressing. Maybe because it makes the tar and submit, and the receive, untar/uncompress, happen on different threads?
One of my "goto" tools is copying files over a "tar pipe". This avoids the temporary tar file. Something like: