delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/27/05:44:57

X-Spam-Check-By: sourceware.org
Message-ID: <a5f030530604270244x71745056n2b2bebe7c353729@mail.gmail.com>
Date: Thu, 27 Apr 2006 05:44:44 -0400
From: "Brett Serkez" <bserkez AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rsync over ssh hang issue understood
In-Reply-To: <061e01c6694d$18d79e20$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
References: <20060426160106 DOT GS28583 AT calimero DOT vinschen DOT de> <061e01c6694d$18d79e20$a501a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k3R9irOe028794

<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.

If you simply type rsync on each system, you should see a line such as:

rsync  version 2.6.6  protocol version 29

which can help in the case in which it isn't a printing issue, it is
an actual mismatched protocol version.

Brett

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019