Monday, November 23, 2009

Using rsync (ssh) on a nonstandard port

Use the --rsh option


$ rsync <options> --rsh='ssh -p<port>' "joe@coolhost:/Users/joe/foo\ bar/..." "/local/path/..."

No comments:

Post a Comment

Followers