[CentOS] rsync to a port other than 22

Fri Dec 9 00:44:20 UTC 2005
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>

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"

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://centos.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20051208/026a8101/attachment-0005.sig>