简体   繁体   English

如何使用Windows应用程序在服务器上执行Shell脚本

[英]How to execute a shell script on a server using windows application

I have built a Windows application using C-Sharp which basically connects to database server hosted on a linux server. 我使用C-Sharp构建了Windows应用程序,该应用程序基本上连接到Linux服务器上托管的数据库服务器。 Is there a way using which I can modify the same application so that I can execute unix commands which shall be executed on the server. 有没有一种方法可以修改同一应用程序,以便可以执行将在服务器上执行的unix命令。

您可以使用SSH远程执行shell命令,看看这一点: C#发送一个简单的SSH命令

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM