hey friends,<br>
<br>
<br>
I am trying to copy the contents of some directories(/opt & /home)
on my servers to another machine through rsync. The problem I am facing
is that  ssh is very restricted in my domain that
is           <br>
<br>
         ssh is running on some other port(50,000)<br>
         only few users r allowed access.<br>
<br>
<br>
<pre>rsync -pzv -e "ssh -l demo --port=50000" --progress demo@host::mail /home/demo/ demo.swx</pre>
<br>
demo is the user on other machine and it has the rights to do ssh, the machine is running on port 50000<br>
and the file i want to copy is demo.swx.Right now I am trying to copy only one file but I need to copy few directories.<br>
<br>
what should be the syntax of rsync for my scenario.<br>
<br>
<br>
Thanks & Regards<br>
<br>
Ankush Grover<br>
<br>
<br>
<br>
<br>
        <br>
<br>