I'm new to rsync and want to set up a rsync server and client. The server
runs on termux on Android. The client runs on msys2 on Windows.

Server rsyncd.conf is

```
read only = yes
list = yes
log file = /data/data/com.termux/files/home/wksp/rsyncd.log
pid file = /data/data/com.termux/files/home/wksp/rsyncd.pid

[wksp]
    path = /data/data/com.termux/files/home/wksp
```

Server is started with `rsync --daemon --config=./rsyncd.conf --port=8073`

Client uses `rsync -av rsync://192.168.137.110:8073/wksp/ /d/temp/` to
copy remote ~/wksp to local /d/temp

The client reports this error:

> rsync: didn't get server startup line  
> rsync error: error starting client-server protocol (code 5) at main.c(1850) 
> [Receiver=3.4.1]

In server's rsyncd.log, there is this line at the end: `rsync allowed
access on module wksp from PC_NAME (PC ip)`

In Wireshark, both the client and server send `@RSYNCD: 32.0 sha512 sha256
sha1 md5 md4\n`. Then the client sends `wksp\n`, and the server closes
the connection.

What's wrong with the setup? Thanks very much!
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to