Archived Forum Post

Index of archived forum posts

Question:

ChannelReceiveUntilMatch timing out too soon

Mar 13 '13 at 12:21

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.


Answer

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