--- Em dom, 17/2/13, lux-integ escreveu:

> De: lux-integ
> Assunto: Re: [blfs-support] ftp client question
> Para: blfs-support
> Cc: "Baho Utot"
> Data: Domingo, 17 de Fevereiro de 2013, 14:29
> On Sunday 17 February 2013 03:39:18
> Baho Utot wrote:
> > Do you have ssh installed on both machines?
> > 
> > If you do, you don't need to run rsyncd if you have
> sshd configured and 
> > running on the target machine.
> > 
> > Just rsync -var <ip | host.domain>:<source
> directory> <target directory>
> > should then work.
> > 
> > rsync spawns ssh to make the connection and then it run
> over the "ssh 
> > tunnel"
> 
> Thanks very much.  I somehow could not login via ssh on
> the  machine I want to 
> transfer from so I had to turn things
> round.   i..e 
> transferred   from the 
> said machine whilst on it  :-
> 
> rsync -avz sourceDIR  user@DestIP:/destDIR
> 
> and it worked so many thanks.
> 
> sincerely
> luxInteg

Good you solved. Just trying still to understand your problem. Anyway, 
probably, you know what I am writting in the following, 

A similar behavior occurrs to my machines if iptables is preventing 
one machine to connect but not the other way round in this case, I add 
in the host rc.iptables (or run just before using rsync:

     iptables -A INPUT -s DestIP -p tcp -j ACCEPT

in the host machine (host.domain), and DestIP is in your notation, now 
I can run rsync from the "client" machine.

[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to