Sending Large Files Reliably Using `rsync` Without SSH

Eric Semeniuc

Eric Semeniuc

May 27, 2021

Rsync is super powerful! It allows you to:


  1. Both sides have rsync installed
  2. You can ping the sending machine



# make a config file to set up rsync
cat > rsyncd.conf <<EOF
    path = /home/%RSYNC_USER_NAME%
    comment = "my home folder"
    read only = true
    list = yes

# start rsync server
rsync --daemon --config rsyncd.conf --port 8000

Check that directory is shared with:

rsync rsync://localhost:1837


me@a:~$ rsync rsync://localhost:1837
homedir           "my home folder"


rsync --progress --compress --inplace --checksum rsync://MY_HOST:1837/homedir/ .

Flags: --progress: show to progress of the copy

--compress: use file compression to speed up copying on slow links

--inplace: replace large files in-place (avoids running out of disk space if you have very large files)

--checksum: copies over the blocks that are corrupt/changed, allowing large bandwidth savings at the cost of CPU and I/O for calculating checksums


That’s it, you can send big files really fast :D