DEV Community

John Ding
John Ding

Posted on

Rsync non-standard SSH port

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

Top comments (0)