Today I had a fascinating issue with SCP (Secure Copy). I was a bit flabbergasted when several attempts to copy a 800 MiB file failed … after a while. You could see that the transfer rate was going up. Since I was connected via SSH to the machine which executed the SCP command, and apparently the transfer rate of SCP was eating up the bandwidth for the actual SSH connection. At least the SSH connection was dropped every single time until I used -l
to limit the transfer rate of SCP. Fascinating indeed.
I hope this will help someone to figure out similar issues.
// Oliver