Answer the question
In order to leave comments, you need to log in
How to run a program on Windows over the network from the Linux command line?
Hello! There was a need to execute a command in the Windows command line (preferably with administrator rights) over a network with Linux, or rather with php. Moreover, it is necessary that the program return the result of execution (text from the command line) to PHP. You can of course install PHP on Windows, but I really don't like how the web server works on Windows. I looked for a solution on the Internet - I did not find anything I really needed. Of course, you can write a simple client-server application that will do this. But I don't want to reinvent the wheel. Can anyone come across?
Answer the question
In order to leave comments, you need to log in
Install WinSSHD on Windows and connect to it via SSH. Something like this.
telnet-server is
unsafe terribly, but it will do for Windows;)
Well, I don’t like it;)
Only close it with a firewall for everyone, except for the address of your site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question