[CentOS] rsync to a port other than 22

Fri Dec 9 00:48:50 UTC 2005
Ed Morrison <edward.morrison at gmail.com>

Ignacio Vazquez-Abrams wrote:

>On Thu, 2005-12-08 at 16:37 -0800, Ed Morrison wrote:
>  
>
>>I am trying to use rsinc to tranfer my ftp  directory from one server to 
>>another.  I have port 22 closed off due to port knocking and I am trying 
>>to direct rsync to use another port.  Unfortunately I can't seem to get 
>>it to use the specified port.  Here is my command, if someone could 
>>point out my error I would appreciate it:
>>
>>rsync -avr --port=XXX xxx.xxx.xxx.xxx:/var/ftp /var/ftp
>>    
>>
>
>-e "ssh -p XXX"
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>CentOS mailing list
>CentOS at centos.org
>http://lists.centos.org/mailman/listinfo/centos
>  
>
Awesome Ignacio.  Thank you.

Ed