CS2: Server 2003 enter-pssession 连接到另外一台服务器报错

客户问题概括:
用户反馈在域中一台Win 2003 SP2 服务器使用 Powershell ,“enter-pssession” 链接到另外一台服务器无法工作,该服务器无其他问题.
报错内容:

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.

解决方法:
排查安全日志发现此服务器SPN注册有问题,重新注册spn后即可, 注册spn工具为setspn.exe

举例:

setspn -l HTTP/Servername 确认SPN

setspn -q HTTP/Servername.fqdn

发现重复SPN

setspn -x删除重复spn

原文地址:http://blog.51cto.com/13133729/2063421

时间: 2024-08-03 15:00:43

CS2: Server 2003 enter-pssession 连接到另外一台服务器报错的相关文章

Atom远程连接服务器报错服务器版本和客户端版本不一致

Atom远程连接服务器 报错信息: Server version is different than client version Original error message: Version mismatch. Client at 139 while server at 141. 在setting里check for update 一下,然后重启编辑器!!!重启

GNS3连接本地服务器报错

关于GNS3连接本地服务器报错的解决办法: 1:检查目录名,最好不要有中文目录 2:关掉防火墙和杀软 3:查看端口是否被占用 方法:以管理员身份运行cmd,执行命令netstat -anb 4:运行cmd,执行netsh winsock reset 个人原创,转载时请注明出处

从一台Centos机器ssh连接另一台机器报错

从一台Centos机器ssh连接另一台机器报错 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING

sqlserver 2012 IDE中 Windows身份验证连接服务器报错 ,Login failed for user 'xxx\Administrator'. 原因: 找不到与提供的名称匹配的登录名。

问题描述: 本地装了两个实例,一个是SQLEXPRESS,可以正常操作.但是另一个开发常用的实例MSSQLSERVER却连Windows身份验证都报错,报的错误也是很奇葩,怎么会找不到Administrator那,我登录计算机进来就用的这个账号. 详细错误如下: 无法连接到 xxx.===================================用户 'xxx\Administrator' 登录失败. (.Net SqlClient Data Provider)--------------

解决appium 连接真机Android 9启动报错.....shell "ps 'uiautomator'

好久没有使用Appium了,感觉要从头开始了,正好换个电脑要重新装环境,装环境就不描述了,照着网上的资料就可以了,问题就出现在连接真机,手机是Android9,vivoZ5x,启动APP时候始终报错,提示....shell "ps 'uiautomator'. 网上搜了很多,但是如下的解决版本亲测有效. 在appium的安装目录,找到该目录下C:\soft\Appium\node_modules\appium\node_modules\appium-adb\lib的 adb.js 文件 1.找到

连接不上本地数据库,报错:2003

今天启动一个项目报错如下: 查了一些资料说数据库没有启动,然后发现启动不了数据库并报错:   2003 启动数据库可以用命令提示符: net start mysql 或者找到如下位置:电脑->管理-> 进入如下界面找到mysql的服务启动即可 想起来自己将数据库的文件位置进行了改动 所以改了MySQL的环境变量,重新启动即可 原文地址:https://www.cnblogs.com/ywqtro/p/12343727.html

secureCRT连接服务器报错:Unable to authenticate

用secureCRT连接远程服务器时报错: 1 The client has disconnected from the server.Reason: 2 Unable to authenticate using any of the configured authentication methods. 把key粘贴到其他用户是可以登陆的,说明本身key不存在问题,但是一直报错用户名或者key错误 登陆服务器查看auth.log 1 cat auth.log 2 Nov 15 11:20:24

zendStudio连接远程服务器报错java.net.SocketException

zendStudio在连接远程服务器的时候突然报如下错误 消息: Operation failed due to network I/O error 'java.net.SocketException: Software caused connection abort: socket write error' 从昨晚,一直查询到现在.在链接日志中,突然查询到如下错误. 215 UNIX emulated by FileZilla 百度如下答案: 如果在使用UNIX by FileZilla' 时

解决连接远程Windows服务器报错“由于安全设置错误,客户端无法连接到远程计算机”

控制面板--管理工具--本地安全策略--本地策略--安全选项--禁用"系统加密:将FIPS兼容算法用于加密.哈希和签名"