- 论坛徽章:
- 0
|
(一)在rsync server(92)端设置了/etc/rsyncd.passwd,在本地也设置同样的文件及内容,但是为什么还要我的密码?!
rsync -rvlHpogDtS --progress --delete -e ssh --password-file=/etc/rsyncd.passwd root@10.0.72.92:/home/zdj/* /home/zdj
root@10.0.72.92's password:
receiving file list ...
1 file to consider
sent 16 bytes received 76 bytes 14.15 bytes/sec
total size is 0 speedup is 0.00
(二)模块是什么意思?在那里配置?(最好给个例子)
/usr/bin/rsync -rvlHpogDtS --progress --delete --password-file=/etc/rsyncd.passwd rsync://root@10.0.72.92/home/zdj/* /home/zdj
root Welcome to use the rsync services!
@ERROR: Unknown module 'home'
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(359) |
|