Rsync non-standard SSH port

John Ding - Jan 25 - - Dev Community

rsync -avzrh -e "ssh -p 22000 " . root@myserver.com:/dir-name

"ssh -p 22000 " can be ignore if port 22 is in use on remote server

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .