symbulos - ethical services (external mailing lists) wrote:
I apologise for the incongruous posting.

We have two webservers, a and b, both of them with rsync installed.

We would like to rsync one directory on one server with another directory on another server.

What I do is to go to one of the server (server a) as root using ssh, navigate to the directory, and write

rsync -avz [EMAIL PROTECTED]:directory/     ./

This is the error we get

ssh: connect to host 80.81.131.173 port 22: Connection refused

this is the important part and it means that port 22 does not accept connections at all.
Make sure that
a) sshd is running at 80.81.131.173
b) any firewall in between does not block connections from you
c) sshd is licening at port 22

rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(359)

Thanks in advance

Corrado

Corrado, Rina, John, Judith

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to