[英]How to run a batch file localy from windows ssh server (from linux machine on remote windows machine)
I trying to run a following batch file: 我试图运行以下批处理文件:
echo on
title My Batch File
:: See title
call myApplication.exe
echo I am done
pause
I tried two different scenarios: If I want to launch an application with GUI it tells me that I don't have enough space 我尝试了两种不同的方案:如果我想使用GUI启动应用程序,它会告诉我我没有足够的空间
Not enough storage is available to process this command.
If I want to do something very light, a program as simple as printing something on command prompt, it will do the work. 如果我想做的很轻巧,就像在命令提示符下打印内容一样简单的程序,它将完成工作。
My real difficulty: I need to launch a cmd on the remote machine not in my ssh terminal. 我真正的困难:我需要在远程计算机上而不是在ssh终端中启动cmd。 The reason is I need to access the usb-drive on the local windows machine, but this situation I cannot really do it. 原因是我需要访问本地Windows计算机上的USB驱动器,但是这种情况我不能真正做到。 What I really need to do: open command prompt remotely on a windows machine Thank you 我真正需要做的是:在Windows计算机上远程打开命令提示符谢谢
My setup: 我的设置:
host PC : Debian Linux Remote PC: Windows 10 running ssh server (default to Windows 10) 主机PC:Debian Linux远程PC:运行ssh服务器的Windows 10(默认为Windows 10)
What ssh server are you using? 您正在使用什么ssh服务器? Try cygwin or likes because windows doesnt have built in ssh servers. 请尝试cygwin或likes,因为Windows尚未内置ssh服务器。 It does have a telnet client. 它确实有一个telnet客户端。 If security is not an issue and the linux server is running locally, you can try doing that. 如果安全性不是问题,并且linux服务器在本地运行,则可以尝试这样做。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.