rsync over alternate ssh port

Yeah ok, so I run SSH on an alternate port so I won’t be continually scanned by every bot on the planet. No problem right? Not for plain ole’ SSH, rsync on the other hand, is just retarted. Get this commend to get it to communicate over the alternate port:

rsync -avu -e 'ssh -p 1900' source user@host:/target/dir

C’mon rsync maintainers, thats just weak.. I suppose I understand why they have to do it that way since the transport is SSH, but seriously, looks more like a kludge.

Comments are closed.