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.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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