rsync question

Got a problem with Viscosity or need help? Ask here!

vektor

Posts: 2
Joined: Fri Oct 23, 2009 1:31 am

Post by vektor » Wed Feb 03, 2010 3:40 am
Hi,

I'm able to rsync from my mac using a comand like this...

rsync -av [email protected]:/home/macuser/Data/vektor_jobs/outlaw_media/outlaw_media_logo_v2.ai /Users/pete/Desktop/


but what I would really like to do is sync the other way once I've connected to my vpn and ssh'd onto the box like so...

rsync -av home/macuser/Data/vektor_jobs/outlaw_media/video_play.ai [email protected]:/Users/pete/Desktop/

but I get this error
ssh: connect to host 10.8.1.6 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.5]

Can anyone help? I'm presuming i'm on 10.8.1.6 as viscosity gives me this as my client ip.

Many thanks in advance

James

User avatar
Posts: 2318
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Wed Feb 24, 2010 10:36 pm
Hi vektor,

If you're unable to access your other computer at all (not just with rsync), you'll probably want to check your firewall and NAT settings (for a tun connection) on your OpenVPN server. You may also want to look into using the "client-to-client" option if both computers are connected to the VPN. See the OpenVPN documentation page for more information.

You're probably better off asking this on the rsync mailing list to see if anyone has encountered a similar issue before.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1