- 论坛徽章:
- 0
|
# See rsync(1) and rsyncd.conf(5) man pages for help
# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
port = 873
address = 192.168.1.55
#uid = nobody
#gid = nobody
uid = root
gid = root
use chroot = yes
read only = yes
#limit access to private LANs
hosts allow=192.168.1.56/255.255.255.0
max connections = 5
motd file = /etc/rsyncd/rsyncd.motd
#This will give you a separate log file
#log file = /var/log/rsync.log
#This will log every file transferred - up to 85,000+ per user, per sync
#transfer logging = yes
log format = %t %a %m %f %b
syslog facility = local3
timeout = 300
[root]
path = /home
list=yes
ignore errors
auth users = root
secrets file = /etc/rsyncd/rsyncd.secrets
exclude = beinan/ samba/
我是这样配置的 在客户端 rsync --list-only root@root.org::
提示rsync error: syntax or usage error (code 1) at main.c(1084)
请问如何解决 |
|