Sunday, September 1, 2013

rsync to a different port

There are instances when you are faced with issues on securing your servers and in the process systematically closing all the default ports.  Real hassle if you do "rsync" on a regular basis.  Apparently, there is a simply solution for this.  All you need to do is train it to use a different port.

e.g.

rsync -av -e 'ssh -p 35500' /home/footloader fooflight01@server1.saltsugar.net 
** above will rsync home dir to a certain server


Awesome?  Cheers!!!

No comments:

Post a Comment