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?

asked 12 Nov '10, 19:44

Jenn's gravatar image

Jenn
16
accept rate: 0%

I should add that the first command goes through without exception, commands after the first throw the TerminalException.

(12 Nov '10, 19:46) Jenn

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
link

answered 15 Nov '10, 13:22

Lukas%20Matyska's gravatar image

Lukas Matyska ♦♦
90117
accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×44
×25

Asked: 12 Nov '10, 19:44

Seen: 575 times

Last updated: 21 Mar '11, 17:22