동일한계정으로 접속하여 처리하는경우 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]$
'OS > Linux' 카테고리의 다른 글
sftp / ssh / scp 포트지정접속 (0) | 2021.12.28 |
---|---|
tomcat 2개 / tomcat port 다르게 여러개 (0) | 2021.06.25 |
centos 8 / run level 변경 / graphical.target / multi-user.target (0) | 2020.09.28 |
centos 7 / docker install (0) | 2020.05.29 |
centos 7 / let's Encrypt / tomcat 8 (0) | 2020.05.04 |