On Mon, Aug 14, 2000 at 05:50:53PM +1000, Joan Fernon wrote:
> Hello,
> I'm setting up rsync and can't get a simple file transfer to execute.
> My test command is transferring a file from the local host to fred2
>
> rsync -a -e /usr/local/bin ztest fred2:/usr/local/bin/ztest2
>
> I get the following output
>
> push_dir fred2 : No such file or directory (4)
> unexpected EOF in read_timeout
The -e parameter should take the whole path of the remote shell
program. In short, if you want to run rsync over ssh to make it
secure, then you should use
rsync -a -e ssh ztest fred2:/usr/local/bin/ztest2
and if you want to use plain rsh, or the contents of your $RSYNC_RSH
variable, then
rsync -a ztest fred2:/usr/local/bin/ztest2
Plain rsh is not very secure at all and should never be used on the
public Internet.
Hope that helps,
--
Martin Pool, Linuxcare, Inc.
+61 2 6262 8990
[EMAIL PROTECTED], http://www.linuxcare.com/
Linuxcare. Support for the revolution.
PGP signature