|
发表于 2004-12-2 21:34:51
|
显示全部楼层
use rsync and ssh tunneling.
e.g. rsync -avu -e 'ssh -l username' ftp2_ip:/bub/home/user/in /home/user/in
this is ftp1 sync with ftp2. Requirement:
1. both servers have rsync.
2. both servers have ssh
if you need to put it into script, configure the ssh authentication on ftp2 for ftp1 |
|