I'm trying to rsync a server (ssh port 22) to a new mirror (ssh port 2222) but the difference in port numbers is really causing trouble. No matter what I do I get the same error - it's trying to connect on port 22
> rsync -avz -e ssh email@example.com:2222/home/me/temp/ /home/me/temp/
> rsync -avz -e ssh --port=2222 firstname.lastname@example.org:/home/me/temp/ /home/me/temp/
> rsync -avz -e ssh email@example.com:/home/me/temp/ --port=2222 /home/me/temp/
ssh: connect to host 192.168.1.5 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)
Anyone know what syntax I use to specify the port number? I've been scanning the man page and the web & haven't come up with anything yet.