ssh端口從22改到其他端口後,rsync的用法

[root@jsb~]# rsync -avH --progress '-e ssh -p 2222' [email protected]:/etc/passwd ./
receiving file list ...
1 file to consider
passwd
        1846 100%    1.76MB/s    0:00:00 (xfer#1, to-check=0/1)

sent 42 bytes  received 1945 bytes  794.80 bytes/sec
total size is 1846  speedup is 0.93

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章