- 论坛徽章:
- 0
|
原帖由 luo118 于 2008-6-20 19:39 发表 ![]()
其实服务端不用配置的,如果你不是定时运行的,rsync.conf 者不用配置,
可以如下
rsync -vzrtopg --delete -e ssh root@192.168.1.7:/home/test/ /home/backupl/
或者
rsync -vzrtopg --delete -e ftp f ...
[root@hbc ~]# rsync -vzrtopg --delete -e ssh ftpuser@192.168.1.55:/home/ /home/
The authenticity of host '192.168.1.55 (192.168.1.55)' can't be established.
RSA key fingerprint is c8:8c:76:ba:18:01:d6:8b:fa:46:45:de:f3:9f:76:74.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.55' (RSA) to the list of known hosts.
ftpuser@192.168.1.55's password:
Permission denied, please try again.
ftpuser@192.168.1.55's password:
Permission denied, please try again.
ftpuser@192.168.1.55's password:
Permission denied (publickey,gssapi-with-mic,password).
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
会出现这个问题 怎么解决? |
|