login about faq

I am sending a command that may take a long time, so I am using ChannelReceiveUntilMatch to wait for the prompt to come back. However, it is timing out after 5000ms. I have tried setting ssh.ReadTimeoutMs=0 just before calling the receive. I am using the ActiveX control in VB6.

asked Mar 13 '13 at 12:01

demjohn's gravatar image


Nevermind. I had set the idle timeout further up in the code. I thought I had commented it out, but apparently hadn't.


answered Mar 13 '13 at 12:21

demjohn'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: Mar 13 '13 at 12:01

Seen: 725 times

Last updated: Mar 13 '13 at 12:21

powered by OSQA