跨平台PowerShell远程协议(PSRP)使用Basic认证将只支持HTTPS模式

上个月有人在跨平台PowerShell远程协议(PSRP)上发了一个bug:使用Basic认证和HTTP方式从Linux远程到Windows会报Access Denied https://github.com/PowerShell/psl-omi-provider/issues/114

我troubleshooting了一两天发现是OMI已经禁用了这种不安全的方式,目前fix方式是在PowerShell端禁用并提示用户:

https://github.com/PowerShell/PowerShell/issues/6779

https://github.com/PowerShell/PowerShell/pull/6787 此fix已经进入master,还没release,下一个版本能看到。

社区同时把这个变化加上文档:https://github.com/PowerShell/PowerShell-Docs/pull/2395

针对Linux、Mac远程到Windows,将只支持HTTPS Basic,当然如果用Negotiate或者Kerberos方式,HTTP和HTTPS都支持。


猜你喜欢

转载自blog.csdn.net/yangzhenping/article/details/80234018