[CentOS] rsync question

Fri Sep 11 14:21:46 UTC 2015
C Linus Hicks <linush at verizon.net>

 On 09/10/15, Robert Moskowitz wrote:

--------------- Quoted text ------------------
SSh is not parsing the port the way http does, it seems:

$ rsync -ah --stats root at 
ssh: connect to host port 22: No route to host
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.1]

The reason why I change my SSH port is a simple way to keep port knocker 
robots away. Different hosts use different ports...

------------------ End quote --------------------

Oh, right, so you either need to put that in your .ssh/config file or use -e 'ssh -p 613' on the rsync command.

The config file should look like this:
     Port 613