본문 바로가기
OS/Linux

rsync / ssh-keygen / ssh-copy-id

by 하하IT 2021. 6. 1.

 동일한계정으로 접속하여 처리하는경우 root제외 
 
$ ssh-keygen
 
$ ssh-copy-id  192.168.99.44
 
 
$ rsync -avz /home/유저명/rsync/  유저명@192.168.99.44:/home/유저명/rsync/ 
 
 
 [유저명@gs2019 rsync]$ rsync -avz /home/유저명/rsync/  유저명@원격지IP:/home/유저명/rsync/
sending incremental file list

sent 134 bytes  received 12 bytes  97.33 bytes/sec
total size is 143  speedup is 0.98
[유저명@gs2019 rsync]$