使用SSH连接 Windows Server 2025.note
注意:仅支持Windows Server 2025版本,因为2025默认安装了Open SSH服务
1、Server 2025 配置:
start-service sshd
set-service sshd -startuptype automatic2、Linux 配置:
apt install -y ansible ssh python3 python3-passlib sshpass
cat /etc/ansible/ansible.cfg
cat /etc/ansible/group_vars/all.yml