Report this

What is the reason for this report?

file transfer to ubuntu 16.04 is really slow.

Posted on October 26, 2018

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.



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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.