溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

CS2: 2003 Powershell Enter-pssession 連接到另外一臺(tái)服務(wù)器報(bào)錯(cuò)

發(fā)布時(shí)間:2020-06-14 03:43:04 來源:網(wǎng)絡(luò) 閱讀:558 作者:起名煩死 欄目:建站服務(wù)器

客戶問題概括:
用戶反饋在域中一臺(tái)Win 2003 SP2 服務(wù)器使用 Powershell ,“enter-pssession” 鏈接到另外一臺(tái)服務(wù)器無法工作,該服務(wù)器無其他問題.
報(bào)錯(cuò)內(nèi)容:

WSManFault
Message = WinRM cannot process the request. The following error occured while using Negotiate authentication: An unknown security error occurred.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use
HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config.

解決方法:
排查安全日志發(fā)現(xiàn)此服務(wù)器SPN注冊(cè)有問題,重新注冊(cè)spn后即可, 注冊(cè)spn工具為setspn.exe

舉例:

setspn -l HTTP/Servername 確認(rèn)SPN

setspn -q HTTP/Servername.fqdn

發(fā)現(xiàn)重復(fù)SPN

setspn -x刪除重復(fù)spn

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI