Rsync via two ssh tunnels possible (standard method mentioned k times not possible?)

Justin Pryzby justinpryzby at
Tue Dec 23 03:06:34 GMT 2008

On Fri, Dec 12, 2008 at 12:56:24PM +0100, Roman Fiedler wrote:
> Hi list,
> After reading rsync docu and doing online search, I still failed to find  
> a simple solution for following problem:
> The goal is to sync two directories using rsync without running the  
> rsync daemon on one of the two hosts. The standard shell sync does not  
> work because of the network topology:
Is it sufficient to use:

	ssh -oProxyCommand ssh $directhost nc -q1 %h %p

where $directhost is the host to which the invoking rsync can connect


More information about the rsync mailing list