0

I need to connect to unix server using putty.exe and to run the 'sudo' command into it. Here server, username, paswd and sudo commands are dynamic in nature. we will be passsing them during execution or can be put in an test.xls file and can read thru the file. Your early response is much appreciated.

Thank you, Kiran

1 Answer 1

1

Rather than using C# to control Putty you should consider using an SSH library, like SSH.net. That will allow you to connect to the SSH service on your Unix server.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.