简体   繁体   English

是否可以通过Linux在Windows计算机上远程运行批处理脚本而无需安装ssh?

[英]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.

相关问题 如何从Windows SSH服务器(从远程Windows计算机上的Linux计算机)运行批处理文件本地设置 - How to run a batch file localy from windows ssh server (from linux machine on remote windows machine) 从ubuntu机器远程运行Windows XP bat脚本 - Run a windows xp bat script remotely from a ubuntu machine 在Windows机器中远程(通过ssh)移动光标 - Move remotely (via ssh) the cursor in a windows machine 有没有办法从Windows或Linux机器上远程安装程序以编程到Windows机器? 最好是一些容易用Java编写的代码 - Is there a way to remotely install to program to a windows machine from both a windows or a linux machine? Preferably something easy to code in java 从Windows远程运行Linux脚本并获取执行结果代码 - Running remotely Linux script from Windows and get execution result code 如何在远程Windows计算机上从Java运行批处理脚本 - How can I run a batch script from java on a remote windows machine 在没有Cygwin的情况下将文件从远程Windows计算机复制到Linux计算机 - Copy a file from remote Windows machine to Linux machine without Cygwin 从Windows批处理文件运行Shell脚本 - Run shell script from windows batch file 当我从Linux机器尝试到Windows ssh客户端服务器时,来自pexpect(pxssh)的SSH失败 - SSH from pexpect (pxssh) fails when I try from a linux machine to a windows ssh client server 如何从Windows计算机的Perl脚本到EC2计算机的SSH - How to SSH from Perl script from windows machine to EC2 machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM