# scp命令免密码
vi /etc/hosts.allow
新增行
sshd:61.174.9.92:allow

拷贝/root/.ssh/id_rsa.pub到备份机,重命名为/root/.ssh/authorized_keys

重启/etc/init.d/sshd restart

05-11 15:51