关于 c#:如何使用 windows 应用程序在服务器上执行 shell 脚本 | 珊瑚贝

How to execute a shell script on a server using windows application


我使用 C-Sharp 构建了一个 Windows 应用程序,它基本上连接到托管在 linux 服务器上的数据库服务器。有没有一种方法可以修改同一个应用程序,以便我可以执行应在服务器上执行的 unix 命令。


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


来源:https://www.codenong.com/35480166/

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_10529.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?