Rebex.Net.Ssh ssh = new Ssh();
ssh.Connect("192.168.1.10");
ssh.CheckConnectionState();
ssh.Timeout = 60 * 1000;
ssh.Login("user", "password");
string blah = ssh.RunCommand("show config"); // this works fine
Shell shell = ssh.StartShell(ShellMode.Prompt);
shell.Prompt = @">";
shell.Encoding = System.Text.Encoding.UTF8;
string r = string.Empty;
shell.SendCommand("set cli screen-length 0"); // times out here.
string prompt = shell.ReadAll();
shell.Prompt = prompt.Substring(prompt.LastIndexOf("\n") + 1) + ">";
the above code throws a TerminalException: Response reading timed out. this code works on cisco devices.
help?