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