ssh 免密登陆配置 # 创建秘钥 ssh-keygen -t rsa # 秘钥同步 ssh-copy-id -i ~/.ssh/id_rsa.pub user@server_ip # 免密登陆测试 ssh server_ip