Example scenario:
- Linux machine (I think Operating System doesn't bother).
- OpenSSH Server.
- Source big file in hard disk, about 2GB (I think SSD or classic HD doesn't bother, neither).
- Destination for the file: a (moderately fast 2.0) USB pendrive (I think 3.0 or even 1.0 wouldn't bother, neither).
I am going to order a simple:
cp MyBigFile.iso /media/pendrive
The pendrive is plugged onto the same machine.
Two cases:
- Local shell (I sit on the machine, and do
cp) execution ordered copy of the big file. - SSH shell (I go to another computer on the same LAN and log via SSH client) remotely ordered copy of the big file.
Does it have any sense to expect any difference in speed? Why?
I think that, in fact, when the copy includes many small files, the communication (for the SSH shell) between server and client could add many small delays (feel free to correct this logic too, if you think I am wrong), but I am not sure about big ones.
(Feel free to opinate about my "doesn't bother" scenarios above, too.)