When starting a shell session I observe a high CPU load (100% on one core).
I use the following code to connect:
MemoryStream input = new MemoryStream();
MemoryStream output = new MemoryStream();
MemoryStream extOutput = new MemoryStream();
shell = client.CreateShell(input, output, extOutput);
shell.Stopped += new EventHandler<EventArgs>(shell_Stopped);
shell.ErrorOccurred += new EventHandler<Renci.SshNet.Common.ExceptionEventArgs>(shell_ErrorOccurred);
shell.Start();
Thanks for the great library!
David
I use the following code to connect:
MemoryStream input = new MemoryStream();
MemoryStream output = new MemoryStream();
MemoryStream extOutput = new MemoryStream();
shell = client.CreateShell(input, output, extOutput);
shell.Stopped += new EventHandler<EventArgs>(shell_Stopped);
shell.ErrorOccurred += new EventHandler<Renci.SshNet.Common.ExceptionEventArgs>(shell_ErrorOccurred);
shell.Start();
Thanks for the great library!
David