I must to development a ssh teminal for download information from my network switch
using (SshClient ssh = new SshClient("10.0.0.2", "System", "sistemami"))
PipeStream input = new PipeStream();
StreamWriter inputSW = new StreamWriter(input);
var sr = new StreamWriter(input);
var output = Console.OpenStandardOutput();
var shell = ssh.CreateShell(input, output, output, "xterm", 80, 24, 800, 600, "");
shell.Stopped += delegate
but i have in console:
Password: The thread '<No Name>' (0xeb0) has exited with code 0 (0x0).
Can i solve it ?
Mar 5, 2012 at 10:27 PM
I suggest you take a look at this thread: http://sshnet.codeplex.com/discussions/301739
and use ShellStream class instead of Shell.
I am planing to retire Shell class in the future since it was test case for me in the begining.
Hope it helps,