更新时间:2021-07-16 03:54:12
您似乎正在尝试修改辅助服务器上UNC路径上的文件.由于存在古老的双跳"问题,因此无法使用.您在计算机A上,正在B上执行远程脚本,该脚本试图修改C上的文件.从A到B的身份验证无法再用于从B到C的连接.这是NTLM(Windows集成身份验证)的设计限制.
It looks like you're trying to modify a file on a UNC path on a secondary server. This won't work due to the age old "double hop" problem. You are on machine A, executing a remote script on B that tries to modify a file on C. Your authentication from A to B cannot be reused to connect from B to C. This is a design limitation for NTLM (windows integrated authentication.)
但是,一切都不会丢失:在将Powershell从A远程连接到B时,必须使用CredSSP身份验证,然后才能毫无问题地连接到C.
However, all is not lost: You must use CredSSP authentication when connecting with powershell remoting from A to B, and then you can connect to C without a problem.
参考: