I'm connecting to an embedded unix target running BusyBox.
Here is my Shell config:
m_shell = m_ssh.StartShell(ShellMode.Prompt);
m_shell.Prompt = "regex:([$])|([#]) ";
m_shell.Encoding = Encoding.UTF8;
m_shell.Timeout = timeout;
m_shell.SendCommand(command);
response = m_shell.ReadAll();
If Issue the following two command to SendCommand:
echo "1234567890123456789012345678901234567890123456789012345678" > /tmp/test1
echo "123456789012345678901234567890123456789012345678901234567890" > /tmp/test2
The first command completes successfully.
The second command throws an Rebex.TerminalEmulation.TerminalException with a status of TerminalExceptionStatus.OperationFailure.
The command actually completes correctly, and the file is created.
How can I change the command length to be greater than 80 characters?