使用来自windows的putty连接到linux服务器 [英] connecting to linux server using putty from windows

查看:83
本文介绍了使用来自windows的putty连接到linux服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





i有一个要求我需要自动执行linux命令并从windows环境执行脚本。



任何人都可以帮我提供示例代码,我可以在putty的帮助下建立与linux服务器的连接并使用脚本执行命令。



with问候



rbkreddy

Hi ,

i have a requirement where i need to automate linux commands and execute the script from windows environment.

Can anyone help me with sample code where i can ebstablise connection to the linux server with help of putty and execute the command using the scripts .

with regards

rbkreddy

推荐答案

使用SharpSSH库



http://sourceforge.net/projects/sharpssh/ [ ^ ]
Use SharpSSH library

http://sourceforge.net/projects/sharpssh/[^]


这篇关于使用来自windows的putty连接到linux服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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