I want to backup server files automatically,so I try to do it with rsync
. I use below command to ssh login passwordless.
ssk-keygen
ssh-copy-id root@ss1.xxxxx100.com
ssh-copy-id backup@ss1.xxxx100.com
But when I use rsync
, it prompt me to input the passwd.
Note: CentOS Linux release 7.5.1804 (Core)