C# SSH.NET continous Read -


i'm trying set ssh connection remote device , want see happens on other side.

when use

var device = client.runcommand(command); var output = device.result; 

i can see happens if write things ls -a want way read device says putty window or cmd window

you have use createshell or createshellstream method, not runcommand, , continuosly read stream, emulate ssh client putty does.


Comments