Question

file transfer to ubuntu 16.04 is really slow.

File transfer to my linux droplet from my mac is really slow, we are talking 2-7 KB/s. The first few files have a upload file of 500-1000 KB/s. My internet speed is 35 download and 5.5 upload. droplet is hosted in germany and im from denmark.

What my command look like

scp -r -v /file USERNAME@HOST:/path

i have added these lines to ssh_config file, because i couldnt upload files to my droplet, so i found this fix on this website

ServerAliveInterval 30
ServerAliveCountMax 5

So my question is: How do i fix this?

This is my first ever experience with linux, so please keep that in mind :) Thank you for your time.

Subscribe
Share

Any found on the reason? I’m experiencing the same problem. My first upload started at 2,2Mb/s and finished at 400Kb/s, which was acceptable. My current upload which I’m struggling with runs at 40-17Kb/s. I initiated it with the command:

scp /path/to/my/file USERNAME@HOST:/path

Any ideas on the subject?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @Syhler

I will recommend you to use rsync instead of scp as it’s proven to be a lot faster.

scp basically reads the source file and writes it to the destination. It performs a plain linear copy, locally, or over a network.

rsync also copies files locally or over a network. But it employs a special delta transfer algorithm and a few optimizations to make the operation a lot faster.

Hope this helps

Regards, Alex