使用来自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/[^]