Hi,
        I tried:
e10000:/var/www/dir/subdir$ rsync -rav -e 'ssh -p 6666' -P 
www.mysite.com::var/www/dir/subdir .
failed to connect to www.mysite.com - Connection refused
e10000:/var/www/dir/subdir$ 

        and I installed rsync at both sides.

e10000:/var/www/principal/contato$ dpkg -l *rsync*
ii  rsync          2.4.3-1        fast remote file copy program (like rcp)

rs6000:/home/baptista# dpkg -l *rsync*
ii  rsync           2.3.1-0.slink. fast remote file copy program (like rcp)

        What can be wrong?
        Thanks,         PH



Quoting Pierre Abbat ([EMAIL PROTECTED]):
> On Thu, 31 Aug 2000, Paulo Henrique Baptista de Oliveira wrote:
> >Hi all,
> >     I have some simple questions about rsync:
> >     1) I have to maintain a web server and want to rsync with it but ssh isnt
> >at 22 port (it is in another port).
> 
> rsync -e "ssh -p N" where N is the port number should do the trick.
> 
> >     2) Do I have to have rsync server at my webserver?
> 
> You have to have rsync at both ends. If you want to set up rsync as a server,
> that's bypassing ssh. The authentication is encrypted but the data stream isn't
> (though it consists of checksums and differences, so it would be hard for Eve
> to make sense of it).
> 
> phma

Reply via email to