I needed to use rsync over . The daemon on the remote runs on a non-standard port, and all the port related options to rsync only change settings if you’re running the rsync-daemon.

After some searching, the man page of rsync finally offered a solution:

rsync + ssh on different port

# rsync -avz -e "ssh -p $portNumber" [email protected]:/path/to/files/ /local/path/


# rsync -av –progress –inplace –rsh=’ssh -p8023′ somefile [email protected]:somedir/

Print Friendly, PDF & Email



Bài viết liên quan