Eric at on 1 Oct 2013 19:14:16 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] strange rsync behavior

I've encountered a strange problem with rsync.

The data is being transferred from a remove vm via ssh tunneling.
The command executes and the file names all stream across the screen.
At the end there are no files transferred.  Since the destination directory has
no files in it and there are gigabytes in the vm I'm not sure what it thinks it

Here's the command:

  rsync -av --rsh=ssh VM:"/home/netlogon"

The ssh tunnel is "VM" defined by this .ssh/config entry:

Host VM
  user root
  ServerAliveInterval 300
  ProxyCommand ssh oldsys nc %h %p

Host oldsys
  user eric
  ServerAliveInterval 300

I know the ssh tunnel works because I can use it to ssh to the vm and scp works too.

Enclosing the "ssh VM:/home/netlogon" in quotes like that rather than
the command above generates an error.

rsync normally "just works" - what's going on?

#  Eric Lucas
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --