rsh syntax - Help

tim.conway at tim.conway at
Thu Feb 7 08:09:33 EST 2002

rsync -a /opt/config/. DevlServ:/opt/config
(see rsync.1)

Tim Conway
tim.conway at
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
".\n" '
"There are some who call me.... Tim?"

"Leslie Turkson" <lturkson at>
Sent by: rsync-admin at
02/06/2002 11:21 AM

        To:     rsync at
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        rsh syntax - Help

Please can someone provide me with the exact syntax for using the rsh 
protocol. I am trying to copy files in a directory named /opt/config/  on 
server DevlServ to the same directory on server ApplServ1.
I have tried the following without much success:
rsync --rsh= cp /opt/config/on DevlServ:/opt/config
rsync rsh cp /opt/config/on DevlServ:/opt/config
Both of the above results in error messages.
I can rsh to server DevlServ from the UNIX command line without being 
requested to enter a password, so I am pretty confident that rsh is setup 
correctly and I have full permissions to both directories. I think I just 
need to get the syntax right. HELP
The error message I get is as follows:
cp: cannot access DevlServ
cp: cannot access --server
cp: .: is a directory
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(140)
I would appreciate any suggestions. Thanks.

Join the world's largest e-mail service with MSN Hotmail. Click Here

More information about the rsync mailing list