Hi, I have installed a rsync on windows which downloaded on http://optics.ph.unimelb.edu.au/help/rsync/rsync_pc1.html and run edited bat file content: *********************************************** @echo off set PATH=c:\rsync;%PATH% set CYGWIN=tty binmode set TERM=ansi rem set RSYNC_RSH=c:\rsync\ssh.exe set RSYNC_RSH=/cygdrive/c/rsync/ssh.exe set USERNAME=myusername set HOME=c:\rsync echo Drive C >>c:\rsync\rsync.log c:\rsync\gnudate >>c:\rsync\rsync.log c:\rsync\rsync -auv --delete --exclude "/rsync/rsync.log" "/cygdrive/c/Program Files/PostgreSQL/8.1/" 127.0.0.1:/cygdrive/c/lun/postgre >>c:\rsync\rsync.log c:\rsync\gnudate >>c:\rsync\rsync.log pause *********************************************** It display a error said: *********************************************** Secure connection to 127.0.0.1 refused; reverting to insecure method. Using rsh. WARNING: Connection will not be encrypted. rsync: read error: Connection reset by peer rsync error: error in rsync protocal data stream <code 12> at io.c<151> *********************************************** How to solve this problem to let it work on windows? Remark: The firewall checked is off and the tcp port 873 is added. -- Jr. P calendarw -------------- next part -------------- HTML attachment scrubbed and removed
On Tue, Mar 28, 2006 at 11:53:52AM +0800, calendarw wrote:> Secure connection to 127.0.0.1 refused; reverting to insecure method.This is an error from your remote shell program (ssh). You should first work on running a simple command via the remote shell (outside of rsync), and then you can build on that foundation when you run rsync. ..wayne..