ssh 免密登录 # 生成ssh ssh-keygen -t rsa # 复制 host 可以是 Host 也可以是 IP ssh-copy-id -i ~/.ssh/id_rsa.pub root@host