[Techtalk] rsync problem copying directory from local machine to server

Conor Daly conor.daly at oceanfree.net
Wed Jan 1 23:12:09 EST 2003


On Thu, Dec 19, 2002 at 10:07:59AM -0500 or so it is rumoured hereabouts, 
k.clair thought:
> On Thu, Dec 19, 2002 at 11:06:19AM +1100, Jenn Vesperman wrote:
> - On Thu, 2002-12-19 at 04:18, k.clair wrote:
> - > is anyone out there familiar with rsync? i sent this message to the
> - > rsync list and have yet to get a response...
> - > - 
> - > - rsync -vr --numeric-ids --dry-run / rsync.host.com::lvs_server_v1
> - 
> - I use rsync, but not in such a complicated way.
> - 
> - My usual rsync is somethin like rsync -e ssh local/path
> - host:/remote/path.
> - 
> - That's adequate for me, to copy things.
> 
> Huh! So it must have been a problem with the protocol because i added -e
> ssh to my command above, and now it works.
> 
> (I still don't understand why it doesn't work without the -e option,
> though...)

I know this was last year and all but...

If the remote machine has disabled rsh (either at firewall or at (x)inetd
level) will rsync fail in this fashion or will you get a "connection
refused" instead.  Adding "-e ssh" stops any use of rsh and gets through
immediately...

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  9:57pm  up 57 days,  6:41,  0 users,  load average: 0.15, 0.03, 0.01
Hobbiton.cod.ie
  9:48pm  up 6 days, 22:40,  2 users,  load average: 0.00, 0.00, 0.00



More information about the Techtalk mailing list