Skip to main content

RSync file transfer on a different port

Submitted by amitsedai on
To transfer file to a different port using RSync: rsync -avz --progress --rsh='ssh -p1516' source user@host:destDir/
rsync -avz -e "ssh -p $portNumber" user@remoteip:/path/to/files/ /local/path/
The source can be a file or a directory to be copied to the destination directory --source: http://www.linuxquestions.org/questions/linux-software-2/rsync-ssh-on-different-port-448112/ http://mike-hostetler.com/blog/2007/12/08/rsync-non-standard-ssh-port/

Technologies