I am trying to run rsync command to get files from my friend's pc to mine. I run following command-

rsync -avz /tftpboot/ root@

I receive following result-

ERROR: The remote path must start with a module name not a / rsync error: error starting client-server protocol (code 5) at main.c(1635) [sender=3.1.1]

  • Are you trying to connect to the remote computer ( over ssh, or over the native rsync protocol? – Gordon Davisson Jul 19 at 0:05

Please check /etc/rsyncd.conf file. The rsync command will require module_name as prefix to the path like-

rsync -avz /tftpboot/ root@

The /etc/rsyncd.conf file contains module_name in square brackets like one mentioned below-



auth users =

path = /

read only = no

uid = nobody

gid = nobody

use chroot = true

uid = root

transfer logging = true

For more details refer to following link- https://download.samba.org/pub/rsync/rsyncd.conf.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.