c# - SSH.NET getting entire output from a shellstream -
ive encountered quite strange phenomenon; when using client.runcommand() function, entire output switch, when using own implementation: sshclient cl = new sshclient(ip, username, password); cl.connect(); shell = cl.createshellstream("tail", 80, 24,800, 600, 1024); streamwriter wr = new streamwriter(shell); streamreader rd = new streamreader(shell); wr.autoflush = true; wr.writeline("show int status"); string rep = shell.expect("switch_wan#", new timespan(0,0,3)); messagebox.show(rep, "output"); i partial output, , prompt saying --more-- how can entire output switch? an example partial output: show int status port name status vlan duplex speed type fa0/1 team7 connected 97 a-full a-100 10/100basetx fa0/2 team7 connected 97 a-full a-100 10/100basetx fa0/3 team7 connected 97 a-full a-100 10/100basetx fa0/4 team7 connected 97 a-full a-100 10/100basetx fa0/5 ...