title: SshNet Command Execution
body: <p>I am trying to create a SSH client using C#. I am using the Renci.SshNet library. I am having issues sending the command and getting an appropriate response from the server.</p>
  
  <p>The way I have been testing it is by sending over the ls command, followed by cd.. command, followed by ls command again -- to see whether or not the cd.. command is being executed properly. However, there is no difference between the first ls command and the second ls command. I am not entirely sure what I am doing wrong. Perhaps I am using the wrong Ssh type. I have provided the code and the output I am getting. I have also added the output that I expect.</p>
  
  <pre><code>        SshClient ssh = new SshClient("apk0rhel01", "dwaseem", "Da_011235813");
          ssh.Connect();
  
  
          while (true)
          {
              string command = Console.ReadLine();
  
              if (command == "exit")
              {
                  break;
              }
  
              var result = ssh.RunCommand(command);
  
              if (result.Result.Length &lt; 10)
                  continue;
  
              Console.Write(result.Result);
          }
          ssh.Disconnect();
  </code></pre>
  
  <p>Output:
  <img src="https://i.stack.imgur.com/bLCEO.png" alt="enter image description here"></p>
  
  <p>Expected Output:
  <img src="https://i.stack.imgur.com/7JoDU.png" alt="enter image description here"></p>