« apache 的性能优化 | Main | find 和 exec xargs »
July 11, 2005
rsync 单模块认证配置 /etc/rsyncd.conf
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。 https://windtear.net/archives/2005/07/11/000714.html http://windtear.net/archives/2005/07/11/000714.html 下面这个配置 rsync 不需要认证 upload 需要认证 rsync upload@upload.ipcn.org::upload 属于密码获得根目录列表 rsync -auvP --progress ./tobe.upload.txt upload@upload.ipcn.org::upload/images/ 把本地文件传过去 /etc/rsyncd.conf 配置: uid = ipcn gid = ipcn max connections = 200 timeout = 600 use chroot = no read only = yes pid file=/var/run/rsyncd.pid hosts allow=192.168.0.0/16 syslog facility = local7 [rsync] path=/ipcn/rsync/ comment =/rsync [upload] comment = upload path = /ipcn/upload/ use chroot = yes max connections = 20 read only = false list = true uid = root gid = root auth users = upload secrets file = /etc/rsyncd.conf.secrets |
Posted by windtear at July 11, 2005 7:38 PM