配置互信 配置root用户 ssh-keygen -t rsa -b 2048 -N '' -f ~/.ssh/id_rsa cat .ssh/id_rsa.pub > ~/.ssh/authorized_keys chmod -R 600 ~/.ssh