Chinaunix

标题: RSYNC 穷途末路之时 [打印本页]

作者: vicky_009    时间: 2009-04-20 17:40
标题: RSYNC 穷途末路之时

RSYNC 穷途末路之时
不妨试试

echo 'user:pwd' > /etc/rsyncd.sec
chmod 600 /etc/rsyncd.sec

/etc/rsyncd.conf:
auth users = test
secrets file = /etc/rsync_server.passwd

在客户机上:
echo 'pwd' > /etc/rsyncd.sec

rsync -vzrtopg --progress --delete
[email=user@serverip::modoul]user@serverip::modoul[/email]
/a --password-file=/etc/rsync_client.passwd

有些莫名的问题 使用 echo 编辑 rsyncd.sec 会有意外收获。

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/62061/showart_1904621.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2