I'm getting the follow set of errors when trying to run rsync through ssh on a Linux box (not even sure what flavor of Linux it is -Linux guru I am not...) First set of lines is my script. Second set is the error message. I have this working the same way on other Linux servers, but cant' get it working on this one. Any insight would be appreciated. Thanks!!!
rcmd: getaddrinfo: Name or service not known
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c (150)