rsync 使用与ssh port不同的几种方式
访问量: 2981
rsync -rvz -e 'ssh -p 2222' --progress --remove-sent-files ./dir user@host:/path rsync -avz --rsh='ssh -p3382' root@remote_server_name:/opt/backups# or in your ~/.ssh/config file Host host Port 2222
访问量: 2981
rsync -rvz -e 'ssh -p 2222' --progress --remove-sent-files ./dir user@host:/path rsync -avz --rsh='ssh -p3382' root@remote_server_name:/opt/backups# or in your ~/.ssh/config file Host host Port 2222