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" user@remoteip:/path/to/files/ /local/path/


# rsync -av –progress –inplace –rsh=’ssh -p8023′ somefile user@host:somedir/

Print Friendly



Bài viết liên quan