delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/12/09:35:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <26319757.post@talk.nabble.com>
Date: Thu, 12 Nov 2009 06:34:57 -0800 (PST)
From: grkuntzmd <grk AT usa DOT net>
To: cygwin AT cygwin DOT com
Subject: rsync pull problem and possible solution
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I am still trying to work this out.


It is well known that cygwin rsync hangs on pulling from Microsoft Windows
(but works when pushing).


I am trying to find some way to reverse the process: have the remote server
PUSH instead of having the local server PULL.


The situation is as follows: I have a master server and many remote slave
servers. I want the slave servers to rsync some files to the master server
over an SSH tunnel, but I do not want to put the slave servers' public keys
into the master server's known_hosts file. The master server SSH does NOT
allow password authentication, only public key. The master server public key
is "known" to each of the slave servers, so the master can SSH in without a
password.


I will initiate the  conversation the conversation from the master with SSH
including a tunnel. I would like to find a way, using the rsync -e option to
have the slave servers then use the tunnel already created to push the files
through.


The master command will look something like


ssh -R4321:localhost:4321 foo AT slave-server 'rsync -e ...'


I am not sure what to put in the '...' for the rsync command


Any ideas?


-----
G. Ralph Kuntz, MD

-- 
View this message in context: http://old.nabble.com/rsync-pull-problem-and-possible-solution-tp26319757p26319757.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


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