rsync problem

Hi!
I tried to use rsync to mirror two of my server. Servers are running RHE and use WHM. I used command


rsync --links --relative --rsh=/usr/bin/ssh /var/html/mydirectory 123.123.123.123:/var/html/mydirectory

and I got an error saying

stdin: not a tty
skipping directory mydirectory

What does that mean? Does anybody know how to solve a problem?

 

 

 

 

Top