ssh経由でrsyncを利用してファイルコピー PDF 印刷 Eメール
作者: mune   
2008年 6月 29日(日曜日) 14:19

rsync の方向は、コピー元サーバ→コピー先サーバとする。
コピー元サーバからsshで通信できるようにしておく。

rsync -avz --delete -e "ssh -1 -i [identity]" /home/samba/test/ [sshd_server_ipaddress]:/home/samba/test/

 

Add your comment

Your name:
タイトル:
Comment:
Use OpenOffice.org

Blog Calendar

< 6月 2008 >
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
30          
route20.org, Powered by Joomla! and designed by SiteGround web hosting