I'm looking for a way to create a c# program where I can script multiple session logins etc. I have to check about 200 servers for differences in a particular file, and I'd like to automate that with c#. I've looked around here, and haven't found anything recent and up-to-date on what I would like to do. Currently I'm checking the files manually using PuTTY. I came across http://sshnet.codeplex.com/ as it was suggest elsewhere on stackoverflow, but I've run into a few issues. Mainly after executing a command, you're returned to the inital state. For example, running "cd /etc/sysconfig" and then "ls" won't output the contents of "/etc/sysconfig/", but instead the contents of the default folder.
Is there a free library that I could use to accomplish this? I'm looking for PuTTY-like functionality that I can implement into a C# program. Thanks a lot.