rsync -avz -e "ssh -p 1022" [email protected]:~/www/ /tmp/copy This will copy all content from account www directory to /tmp/copy on new machine. Use rsync on non standart port
I want to get out from my current hosting provider - Superhosting servers but I'm super lazy and instead of making tar.gz / zip archives and moving them via wget for example I prefer to use rsync. Everything is good until I realize that Superhosting is using non standard SSH port, fortunately I can still using rsync with setting "-e" parameter