Note that there are some explanatory texts on larger screens.

plurals
  1. POHelp me MAKE C# Monitor (Output) and Feed (Input) to SSH.exe
    text
    copied!<p>I've found that the more I refine a question, the better help I get.</p> <p>So, to make the question as complete as possible, I'm providing <a href="http://www.lonniebest.com/MonitorSSH.zip" rel="nofollow noreferrer">this C# WPF solution</a> created in <a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx" rel="nofollow noreferrer">Visual Studio 2010 Beta 2</a>.</p> <p>This solution exactly reproduces the problem I'm having, as I try to capture output from ssh.exe using the System.Diagnostics.Process object.</p> <p>To reproduce this problem, right in front of your own eyes, you'll need two things: (1) An installation of <a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx" rel="nofollow noreferrer">Visual Studio 2010 Beta 2</a>. (2) The IP address of a Linux Server that allows incoming SSH connections.</p> <p>To modify this code to work, you'll probably need to be just as much a hacker as much as you are a programmer. The code is as complete as I know how to make it. It will monitor the output of almost any other command-line utility (except for ssh.exe).</p> <p>If you click on my name, you can see all the previous ways I've asked this question. If you have a suggestion, but are unable to download and reproduce this problem, please submit you answers to one of those previous question instead:</p> <p>I'd like to reserve this question to those who have the prerequisites to reproduce the problem, and answer it by showing how they made it work (with certain modifications). </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload