X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: rsync over ssh hang issue understood
Date: Thu, 27 Apr 2006 12:10:59 +0100
Message-ID: <009201c669eb$439f4420$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <a5f030530604270244x71745056n2b2bebe7c353729@mail.gmail.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 27 April 2006 10:45, Brett Serkez wrote:

> <snip>
>>   Doesn't even run once for me.  Creating all the files over ssh works fine
>> but the rsync invocation fails with
>> 
>> ------------------------------------------------------------------------
>> (Client) Protocol versions: remote=1919251285, negotiated=29
>> protocol version mismatch -- is your shell clean?
>> (see the rsync man page for an explanation)
>> ------------------------------------------------------------------------
> 
> When you log into the target, if there is any output on standard out,
> it can cause this message, which is what is meant by 'is your shell
> clean'.  rsync runs rsync on the target via ssh and then both copies
> of rsync communicate with each other over their standard descriptors.
> 
> The first communication is their version and protocol, if something
> else prints on the standard out of the target, it will cause the
> client to become confused.  ssh into your target and see what prints
> during login.

  Thanks for the explanation.  It turns out that 1919251285 is "User" in
ascii->hex!  I was getting some output from my startup scripts because lots of
the environment was missing and I was getting "unbound variable" warnings.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

