delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/10/17:47:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVbapHrRPRWNcOyNcjDdeFDvAolcvWmSQwndUzYSydvScnTX+7xCSAxU
Message-ID: <3EE6487F.6010000@cygwin.com>
Date: Tue, 10 Jun 2003 17:07:11 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jing Zhao <jzhao AT nssolutions DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: rsh and rsync
References: <C76A4BD58EE0D311AC0F009027E0462F01108198 AT production DOT nssolutions DOT com>
In-Reply-To: <C76A4BD58EE0D311AC0F009027E0462F01108198@production.nssolutions.com>

Jing Zhao wrote:
> I have downloaded cygwin today.
> 
> Doing rsync from Windows 2000 (running cygwin) to NetBSD Unix box with
> the following:
> 
> rsync -av "test.txt" root AT myunixServer:/sd0/rsync
> 
> I got the following error:
> -------------------------------------
> Runs commands on remote hosts running the RSH service.
> 
> RSH host [-l username] [-n] command
> 
>   host            Specifies the remote host on which to run command.
>   -l username     Specifies the user name to use on the remote host. If
>                   omitted, the logged on user name is used.
>   -n              Redirects the input of RSH to NULL.
>   command         Specifies the command to run.
> 
> rsync: read error: Connection reset by peer
> rsync error: error in rsync protocol data stream (code 12) at
> /tmp/rsync-2.5.6/i
> o.c(177)
> -------------------------------------
> 
> The rshd is running on NetBSD, .rhosts is setup and I tried "rsh" standalone
> and run fine. Looked like the rsh usage is 
> 
> 'RSH host [-l username] [-n] command'
> 


Your path is wrong.  You're getting the Windows verison of
rsh.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


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