从Ubuntu的计算机上远程运行的Windows XP蝙蝠脚本 [英] Run a windows xp bat script remotely from a ubuntu machine

查看:124
本文介绍了从Ubuntu的计算机上远程运行的Windows XP蝙蝠脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能从远程Ubuntu的机器通过命令行运行的Windows XP蝙蝠脚本?

Is it possible to run a windows xp bat script remotely from a ubuntu machine via command line?

推荐答案

这是可能的,如果你有一个SSH服务器WinXP的机器上运行。这是微不足道的设置这样的服务器,如果你已经安装了 Cygwin的。这是很好的描述<一个href=\"http://lifehacker.com/software/home-server/geek-to-live--set-up-a-personal-home-ssh-server-205090.php\"相对=nofollow>这里。

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.

这篇关于从Ubuntu的计算机上远程运行的Windows XP蝙蝠脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆