----- Original Message -----
From: "Govindarajan, Bhadri" <bhadri.g@gmail.com>
To: "Wayne Davison" <wayned@samba.org>
Sent: Saturday, June 04, 2005 5:08 PM
Subject: Re: please help -- Variable syntax error
> Hello
>
> I even tried this. I tried to scp and ssh from the remote machine to the
> local machine. I works well.
> But doing rsync gives the same error. "Variable Syntax...."
> So of the two machines from which ever m/c i do rsync it says the same
> error.
> I tried -vv to debug. It uses ssh.
>
> Can you be more specific on how to "running
> the remote shell command directly to see if it gives the error".
>
> ssh "machine" works well. rsync and ssh is installed in both
machines.
> They are the same version. (which rsync and ssh)
>
> I dont understand your last part. this
>> will ensure that you're not running an rsync script on the
destination
>
> Please Let me know what else can be done.
>
> Thanks
> Bhadri.
>
> ----- Original Message -----
> From: "Wayne Davison" <wayned@samba.org>
> To: "Bhadri N Govindarajan" <bhadri.g@gmail.com>
> Cc: <rsync@lists.samba.org>
> Sent: Saturday, June 04, 2005 1:38 PM
> Subject: Re: please help -- Variable syntax error
>
>
>> On Fri, Jun 03, 2005 at 11:58:43PM -0400, Bhadri N Govindarajan wrote:
>>> I just changed the machine names. When i execute the script i get
>>> Variable syntax
>>
>> Judging from the command you used, I assume that this error is coming
>> from the remote shell, and probably indicates an error in that
host's
>> startup files for the shell. Are you sure that you have rsync
>> configured to use ssh? (Use "-e ssh" or set RSYNC_RSH to
force it, or
>> look at the -vv output to see what it's running.) I'd suggest
running
>> the remote shell command directly to see if it gives the error. Also,
>> try a command such as "ssh mydestmachine which rsync" (or
whatever
>> command that machine uses to show you what program is being run) --
this
>> will ensure that you're not running an rsync script on the
destination
>> machine.
>>
>> ..wayne..
>