Menu

#4 c# SharpSSH - Issue to redirect the long output

v1.0 (example)
open
output (1)
5
2014-09-02
2014-09-02
jarlaxle2k5
No

i am using the library SharpSSH but when i redirect the output on a text box the output get cut if it is too long. Is there anyway to increase the buffer of the output?
So far this is the code that i have:

SshShell ssh = new SshShell("myhost","myid","mypass");
ssh.Connect();
ssh.WriteLine("ll |grep "+txt_display.Text);
var resp = ssh.Expect("drwx");
txt_display2.Text = txt_display2.Text + resp;

Look forward hearing from you.
Jar.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.