specify port for rsync

ubuntu 14.04.4
rsync  version 3.1.0

rsync -rvz -e 'ssh -p 2222' --progress --remove-sent-files ./dir user@host:/path
 
 
rsync --progress -avz -e 'ssh -p 44022' user1@100.126.1.106:/remoteshared /local/dir_A

No comments:

Post a Comment