且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从Ubuntu的计算机上远程运行的Windows XP蝙蝠脚本

更新时间:2022-02-01 04:25:18

这是可能的,如果你有一个SSH服务器WinXP的机器上运行。这是微不足道的设置这样的服务器,如果你已经安装了 Cygwin的。这是很好的描述这里。

This is possible if you have an ssh server running on the WinXP machine. It is trivial to set up such a server if you have installed Cygwin. This is well described here.

然后从Ubuntu的命令行(或cron作业)运行

Then from an Ubuntu command line (or cron job) you run

ssh user@winxp command

请确保您的蝙蝠具有可执行的权限。

Make sure your .bat has executable permissions.