Git   发布时间:2022-04-04  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了使用winrm连接到远程服务器,无需将服务器添加到TrustedHosts大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

我一直在努力对付winrm和TrustedHosts,但无济于事。 经过一番尝试,我发现winrm / config / client的这个字段限制为1023个符号,这是不够的,特别是如果通过他们的ipv6添加主机。 我引用了Windows远程pipe理的安装和configuration : A trusted hosts list should be set up when mutual authentication cannot be established.

同样在同一个文件中,文本显示: Other computers in a workgroup or computers in a different domain should be added to this list. 所以我认为这意味着只要两台计算机在同一个域中,我就可以使用winrm访问其中的一台。

我试图添加两台电脑到一个testing域,并执行:

winrm winrm / config / client -r:192.168.100.1 -u:user -p:pass

是否有可能在Windows中用命令行打开命名pipe道?

在Windows托pipe的网站上运行基本的node.js

通过ssh运行程序失败,出现“Error opening terminal:unkNown”。

每个TCP / IPnetworking连接使用多less内存?

创build一个.bat文件以pipe理员身份运行一个exe文件

从其中一个到另一个,但是这个错误失败了:

WSManFault Message = The WinRM client cannot process the request. If the authentication scheme is different from Kerberos,or if the client computer is not joined to a domain,then HTTPS transport must be used or the destination machine must be ad ded to the TrustedHosts configuration setting. Use winrm.cmd to configure Truste dHosts. You can get more information about that by running the following command : winrm help config. Error number: -2144108316 0x803380E4 The WinRM client cannot process the request. If the authentication scheme is dif ferent from Kerberos,then HTTPS transport must be used or the destination machine must be added to the Tru stedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. You ca n get more information about that by running the following command: winrm help c onfig.

向TrustedHosts添加192.168.100.1后,上述查询成功。 所以我的问题是:是否有可能在两台主机之间使用winrm而不修改TrustedHosts? 将可信主机设置为*不适合我。

将HANDLE转换为文件描述符

如何将项目添加到delphi中的Windows资源pipe理器内容菜单

你如何使用服务器上的gettext(Apache),你不能重新启动?

父母怎样才能用一根pipe子给n个孩子发消息

如何获取或捕获由postfix发送的电子邮件正文和标头

如果两台计算机位于同一个域中,则应该能够使用ComputerName而不是IP地址。 当你使用IP地址时,你几乎不得不使用我见过的TrustedHosts。

大佬总结

以上是大佬教程为你收集整理的使用winrm连接到远程服务器,无需将服务器添加到TrustedHosts全部内容,希望文章能够帮你解决使用winrm连接到远程服务器,无需将服务器添加到TrustedHosts所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: