Monday, September 10, 2012

rsync using non standard SSH port

For some reason, you want to listen SSH on different port. Let say you want to minimize SSH illegitimate attempt by deceiving the people out there with so called "closed port" (I learned this from Mr Adli Wahid, the then VP of CyberSecurityMalaysia). 

Rsync can be mapped with SSH, but by using the normal -e ssh flag it will use the default port 22.

To use with you personalized port, let say port 60000 use

rsync -avz --progress -e 'ssh -p60000' 

and the rest of the command.

That's all, worked for me. 

1 comment:

  1. GSCopy Pro v6.0 (RoboCopy Alternative) with Open File Agent
    GSCopyPro is a single command-line tool (CLI) that can copy, replicate and move files from one folder to another. This folder can be on the same machine/ server or another server elsewhere. What makes GSCopyPro stand out from other competitors is the fact it works on 32-bit as well as 64-bit systems and has no restrictions. It can easily be scheduled to run as a scheduled task and fully automated. GSCopyPro also comes with an open file agent which can copy files that are locked/ opened by other processes. This feature is supported in all windows vSCersions from widows XP/ 2003 and later.
    Go To:>> http://www.gurusquad.com/GOPYPRO

    ReplyDelete