http://snippets.bentasker.i2p/page-1812211347-Rsync-over-SSH-with-a-custom-port-BASH.html
Published: 2018-12-21 13:51:22 +0000 Categories: BASH , Language BASH Description It's not at all uncommon nowadays for SSH not to be listening on TCP 22, but to instead be bound to another port - primarily to prevent brute force attacks by the various dumbest-of-the-dumb bots out there Occasionally, though, you then want to use rsync over an SSH tunnel, and need to specify the port to use so that rsync uses the custom SSH port instead of port 22 It's pretty straightforward, but is one of those things I...