【问题标题】:Ansible WinRM Server did not response with a CredSSP token after step Step 5Ansible WinRM Server 在步骤 5 之后没有响应 CredSSP 令牌
【发布时间】:2020-06-02 17:01:08
【问题描述】:

我正在使用 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
}

有解决此错误消息的帮助吗?

谢谢

【问题讨论】:

    标签: ansible winrm credssp


    【解决方案1】:

    我收到以下错误

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

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

    【讨论】:

    • 我遇到了同样的 CredSSP 问题。你在哪里找到 pywinrm 0.4.2? PyPi 和项目的 GitHub 页面上的最新版本是 0.4.1。你在用叉子吗?
    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 2022-12-25
      • 2021-09-23
      • 1970-01-01
      • 2018-05-20
      • 2023-02-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多