node6的远程端口号为52113,通过以下命令来指定:
[root@node230 ~]# rsync -av -e 'ssh -p 52113' /var/log/* root@node6:/tmp/
root@node6's password:
rhsm/
sa/
sa/sa10
tuned/
tuned/tuned.log
varnish/
sent 9649954 bytes received 976 bytes 1754714.55 bytes/sec
total size is 9645610 speedup is 1.00
rsync -avreH --progress 'ssh -p Port' root@remoteip:/remotepath/ /localpath/
rsync -avreH --progress 'ssh -p 1001' root@222.222.222.222:/data/backup/ ./