diff --git a/pages/common/rsync.md b/pages/common/rsync.md index a88c6d03fd..bfc802ea33 100644 --- a/pages/common/rsync.md +++ b/pages/common/rsync.md @@ -31,6 +31,6 @@ `rsync -e ssh --delete {{remote_host}}:{{path/to/remote_file}} {{path/to/local_file}}` -- Transfer file over SSH and show global progress: +- Transfer file over SSH using a different port than the default and show global progress: -`rsync -e ssh --info=progress2 {{remote_host}}:{{path/to/remote_file}} {{path/to/local_file}}` +`rsync -e 'ssh -p {{port}}' --info=progress2 {{remote_host}}:{{path/to/remote_file}} {{path/to/local_file}}`