delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/26/12:19:08

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: rsync over ssh hang issue understood
Date: Wed, 26 Apr 2006 17:18:47 +0100
Message-ID: <061e01c6694d$18d79e20$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <20060426160106.GS28583@calimero.vinschen.de>
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

On 26 April 2006 17:01, Corinna Vinschen wrote:

> On Apr 26 11:51, Peter Keitler wrote:
>> For the script to run, a sshd has to started on the local machine and
>> the user name has to be adapted within the script. Could some of you
>> please run the script twice (the error only occurs when the files
>> already exist on the client side) in order to see if the script also
>> hangs? [...] #!/bin/bash
>> 
>> COMPSERV_USER=peter
>> COMPSERV_SERVER=localhost
>> RSYNC_PARAMS="--recursive --progress"
>> 
>> # Create large amount of files on the server
>> mkdir ~/testdir_clnt
>> ssh $COMPSERV_USER@$COMPSERV_SERVER 'mkdir -p ~/testdir_srv; for
>> ((i=0;i<300;i++)) ; do dd if=/dev/random of=~/testdir_srv/file${i}.lst
>> bs=1 count=5000; done' # Sync files to client rsync  -vvvvvvvvvv 
>> $RSYNC_PARAMS  $COMPSERV_USER@$COMPSERV_SERVER:testdir_srv/* 
>> ~/testdir_clnt/   
> 
> I just tried it a couple of times.  http://cygwin.com/acronyms/#WJFFM
> 

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

  Is there something I need to do to make your testcase work?  (By 'work', of
course, I mean 'break'!)

    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/

- Raw text -


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