login about faq

I am connecting to an audio signal processor with the SSH component. I am having no problems with connecting (debugged step-by-step) and came out the other side just fine. The problem occurs when I try to send or receive information from the device. I get an "stdin is not a terminal" exception. I'm in C#, the Reference has been added properly, using newest Chilkat software (managed through NuGet - December 2016 version).

Any clues?

Here's my code

Ssh client = new Ssh(); . . Connection/Authentication code follows - tests ok .

          public string GetSerialNumber()
                client.ChannelSendString(channelNumber, "DEVICE get serialNumber\r\n","ansi");
                DeviceResponse = client.GetReceivedText(channelNumber, "ansi");
                return DeviceResponse;

Thanks for any help.

asked Feb 28 '17 at 16:34

normschaef's gravatar image


edited Feb 28 '17 at 17:26

Discovered the DSP in question required a "pseudo-terminal". Added SendReqPty and things working now.


answered Mar 04 '17 at 05:36

normschaef's gravatar image


Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Feb 28 '17 at 16:34

Seen: 1,155 times

Last updated: Mar 04 '17 at 05:36

powered by OSQA