0 votes
by (120 points)
edited

When sending multiple commands to an SSH shell I get a TerminalException with the message "Unable to process command." However, the command is sent and executes successfully.

There is no unusual traffic in the Rebex debug log, just packets coming and going.

I can't find any information regarding why this exception may be thrown or what to do about it. Has anybody encountered this?

by (120 points)
I should add that the first command goes through without exception, commands after the first throw the TerminalException.

1 Answer

0 votes
by (72.7k points)
edited

Can you provide us with more information please?

  • which ShellMode are you using (WellKnownShell or Prompt)? ssh.StartShell(ShellMode.XXXXX)
  • in case of ShellMode.Prompt what you assign to the Prompt property? shell.Prompt = "XXX"
  • can you send us whole communication log (with LogLevel.Verbose) to support@rebex.net please? How to do it is described at this post
...