Unable to get it to work.

3 posts / 0 new
Last post
itefix
Offline
Last seen: 17 hours 21 min ago
Joined: 01.05.2008 - 21:33
Unable to get it to work.

I have downloaded cwRsync server/client and set them up on two machines, but I cannot get them to work. I run swrsync.cmd and it outputs this:
Tunnel: ssh
Command to run: "C:\Program Files\cwRsync\bin\rsync.exe" -av /cygdrive/c/backup/
server::backup
Tunnel command: ssh -i "C:\cwrsync" -L
9119:127.0.0.1:873 SvcwRsync@192.168.0.113 -T -N
Establishing secure channel ...
rsync: getaddrinfo: server 873: no address associated with hostname.
rsync error: error in socket IO (code 10) at clientserver.c(98)
Terminating secure channel ...

Is there any step-by-step guide anywhere? In particular, I can't set the tunnel because the port numbers aren't clear. Any help would be appreciated.

itefix
Offline
Last seen: 17 hours 21 min ago
Joined: 01.05.2008 - 21:33
Re: Unable to get it to work.

Assuming that your rsync module is named as module on 192.168.0.113, the secure channel wizard produces following:

@ECHO OFF
SET SECHAW_IDENTITY="c:\cwrsync"
SET SECHAW_TYPE=ssh
SET SECHAW_LOCALPORT=9119
SET SECHAW_SERVER=192.168.0.113
SET SECHAW_SERVERPORT=873
SET SECHAW_USER=SvcwRsync
SET SECHAW_CMD="C:\Program Files\cwRsync\bin\rsync.exe" -av /cygdrive/c/backup/ rsync://SvcwRsync@localhost:9119/module
SET SECHAW_TUNNEL=ssh -i "c:\cwrsync" -L 9119:127.0.0.1:873 SvcwRsync@192.168.0.113 -T -N
"C:\Program Files\cwRsync\bin\sechaw.exe" --verbose

Unfortunately, there is no step-by-step instructions yet.

itefix
Offline
Last seen: 17 hours 21 min ago
Joined: 01.05.2008 - 21:33
Re: Unable to get it to work.

I ran the wizard, that's what's not working. I will try doing it without SSH and if that works I will tunnel it through stunnel, thanks.

Release announcements