[英]Is it possible to run a batch script remotely on a Windows machine from Linux without installing ssh?
I am looking for a way in Linux to run a batch script on a remote Windows machine. 我正在寻找在Linux下一种方式来运行远程Windows机器上的批处理脚本。 I already searched some forums and the Internet and found eg this question .
我已经搜索了一些论坛和互联网,发现了这个问题 。
It seems that the easiest way so far is using ssh
. 到目前为止,似乎最简单的方法是使用
ssh
。 But do Linux or Windows also offer some built-in tools to solve this problem (something like at-command for Linux-to-Windows)? 但是,Linux或Windows是否还提供了一些内置工具来解决此问题(类似于从 Linux到Windows 的命令 )?
Have a look at this . 看看这个 。 It seems to be the linux counter part to the Windows Sysinternals PsExec tool.
它似乎是Windows Sysinternals PsExec工具的linux计数器。 .
。
Another option is to use ad-hoc services for remote execution, eg Nagios NRPE for windows. 另一种选择是使用临时服务进行远程执行,例如,用于Windows的Nagios NRPE。 It is not exactly what the developers had in mind, but it can be (ab)used in this way.
这并不是开发人员的初衷,但是可以以这种方式使用它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.