http://v.apelearn.com/ueditor/php/upload/image/20160817/1471425080272882.png以下是服务端配置文件
port=8730
log file=/var/log/rsync.log
pid file=/var/run/rsync.pid
[luwei]
path=/tmp/rsync
use chroot=yes
max connections=4
read only=yes
list=yes
uid=root
gid=root
auth uesrs=luwei
secrets file=/etc/rs.passwd
hosts allow=192.168.1.2
[luwei1]
path=/tmp/rsync123
use chroot=yes
max connections=4
read only=yes
list=yes
uid=root
gid=root
这是服务端文件配置
port=8730
log file=/var/log/rsync.log
pid file=/var/run/rsync.pid
[luwei]
path=/tmp/rsync
use chroot=yes
max connections=4
read only=yes
list=yes
uid=root
gid=root
auth uesrs=luwei
secrets file=/etc/rs.passwd
hosts allow=192.168.1.2
[luwei1]
path=/tmp/rsync123
use chroot=yes
max connections=4
read only=yes
list=yes
uid=root
gid=root
这是服务端文件配置
编辑回复