“Rsync指定ssh端口及key进行文件同步”的版本间的差异
跳到导航
跳到搜索
第9行: | 第9行: | ||
[https://unix.stackexchange.com/questions/127352/specify-identity-file-id-rsa-with-rsync Specify identity file (id_rsa) with rsync] | [https://unix.stackexchange.com/questions/127352/specify-identity-file-id-rsa-with-rsync Specify identity file (id_rsa) with rsync] | ||
+ | |||
+ | [[category:shell]] |
2020年4月24日 (五) 02:25的最新版本
com
rsync -auz -e 'ssh -p 43378 -i /home/key' /data/svn/ root@192.168.1.254:/data/backup