title: Run Unix commands using PuTTY in C#
body: <p>I am trying to run Unix commands in PuTTY using C#. I have the below code. But the code is not working. I am not able to open PuTTY. </p>
  
  <pre><code>static void Main(string[] args)
  {
      Process cmd = new Process();
      cmd.StartInfo.FileName = @"C:\Windows\System32\cmd";
      cmd.StartInfo.UseShellExecute = false;
      cmd.StartInfo.RedirectStandardInput = false;
      cmd.StartInfo.RedirectStandardOutput = true;
      cmd.Start();
      cmd.StartInfo.Arguments = "C:\Users\win7\Desktop\putty.exe -ssh mahi@192.168.37.129 22 -pw mahi";
  }
  </code></pre>