Quote:
Originally Posted by skc-jju256
Hey guys here is what my problem is. I have two servers each one in different domains they are separated by another domain(3 domains here). This is the setup:
Domain #1 /My server (domain #2)/ Domain #3
That is the setup. I have RHEL 6.4 on the two servers. For some reason rsync doesn't work at all. I made sure I had connection in the environment.
|
This doesn't tell us anything...just saying "doesn't work at all" provides no information. And what do you mean by "had connection in the environment"??
Quote:
Note each one of the servers can see only devices/servers in their domain. I need to send information to server in the domain #3. I really need to figure out how to transfer the data to the server over the domain #3 using rsync. How can I achieve this in any case.
|
From what you described, you can't. You say yourself that the servers can only see the other servers in their own domains...if that's the case, then you cannot get from Domain1 to Domain2, or from Domain2 to Domain3.
Until you can connect from one machine to another SOMEHOW, you can't do it. If you can connect from 1 to 2, and 2 to 3 now, then you can use SSH tunneling/forwarding to establish a connection, and run rsync through the SSH tunnel:
http://www.linuxhorizon.ro/ssh-tunnel.html
http://www.tech-recipes.com/rx/355/rsync-over-ssh/
But you REALLY should contact Red Hat support for help.