Rsync with a non-standard ssh port

Posted: 3rd August 2017 by Thorben Hemmler in Serveradministration

Mit Komprimierung

rsync -avz -e "ssh -p $port" user@remoteip:/path/to/files/ /local/path/

Ohne Komprimierung

rsync -av -e "ssh -p $port" user@remoteip:/path/to/files/ /local/path/

Trockenlauf (Test)

rsync -avn -e "ssh -p $port" user@remoteip:/path/to/files/ /local/path/