Eric at Lucii.org 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
did.

Here's the command:

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

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

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

Host oldsys
  Hostname 99.99.99.9
  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
-- 
#  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         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug