2

我正在使用 Ansible (2.9.6) 使用 WinRM CredSSP 连接 Windows 服务器。对于 win ping 命令,其提供服务器未使用 CredSSP 令牌响应。在客户端机器上启用 CredSSP

ansible windows -i hosts -m win_ping

 | UNREACHABLE! => {
    "changed": false,
    "msg": "credssp: Server did not response with a CredSSP token after step Step 5. Delegate Credentials - actual 'Negotiate, Kerberos, CredSSP'",
    "unreachable": true
}

任何帮助来解决此错误消息?

谢谢

4

2 回答 2

0

我收到以下错误

msg: 'credssp: Server did not response with a CredSSP token after step Step 5. Delegate Credentials - actual '''''

将 pywinrm 更新到 0.4.2 后问题已解决

于 2020-06-24T22:37:59.483 回答
0

我在 Windows 2012R2 服务器上使用 PSRP,我在 win_copy 任务上遇到了同样的问题,但 win_ping 有效。这没有任何意义,然后我禁用了防病毒软件 (McAfee),问题就消失了。

于 2021-10-08T13:11:47.807 回答