Reputation: 323
What is the best way to run .bat file from .NET on remote computer which is not in my local network. It should be secure connection, so the way I'm thinking about is using SSH. Does Windows built in Telnet provide security? Or any other solutions?
Upvotes: 0
Views: 600
Reputation: 33252
Create a secured web application on the target machine and implement a command launching the bat. Avoid a "can launch anything" solution even with a secured channel.
Upvotes: 0