连接Unix服务器并发送命令 [英] Connecting Unix server and send a command

查看:106
本文介绍了连接Unix服务器并发送命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能帮助我如何连接UNIX服务器并使用.net发送命令吗?
例如,更改 文件的chmod?

would you help me how i can connect a unix server and send a command using .net
for example changing chmod of a file?

推荐答案

您可以使用像这样的ssh库:http://www.tamirgal.com/blog/page/SharpSSH.aspx [http://www.tamirgal.com/blog/category/SharpSSH.aspx [ http://telnet.codeplex.com/ [
You can use an ssh library like this one: http://www.tamirgal.com/blog/page/SharpSSH.aspx[^] (sample: http://www.tamirgal.com/blog/category/SharpSSH.aspx[^])
Not recommended, but you can use also a telnet library: http://telnet.codeplex.com/[^]

Of course, there are also commercial ones out there...


这篇关于连接Unix服务器并发送命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆