If I understand correctly,
rsync tries to connect to a remote
rsync server when transferring files via
-e ssh. This worked well for me most of the time, but I am having problems rsyncing with a particular server.
If I verbose the transfer:
rsync -ar --verbose --progress source_file -e ssh server:dest_file
I see the following:
opening connection using: ssh server rsync --server -vvlogDtpre.iLsf .
and it stands there, forever. I should note that I can manually ssh into that machine with no problem. In case it matters, I have a
ControlMaster set up for this connection in my ssh config file, i.e.:
ControlMaster auto ControlPath ~/.ssh/%r@%h:%p
This made me think about two questions:
- Why can't rsync connect to this particular server?
- Is there a way to force rsync to act like scp (and skip connecting to the remote rsync server)?