I have recently upgraded to version 18.104.22.168 and now when i try and execute a ssh remote shell and set the terminal type I get the below error :
The code the generate the error is below :
termType = "dumb" termType = "vt100" widthInChars = 120 heightInChars = 40 ' Use 0 for pixWidth and pixHeight when the dimensions ' are set in number-of-chars. pixWidth = 0 pixHeight = 0
success = objssh.SendReqPty(channelNum, termType, widthInChars, heightInChars, pixWidth, pixHeight) If (success <> 1) Then ts.WriteLine "ExecuteSSHCommand : 7 : " & objssh.LastErrorText Exit Function End If
Why has this happened ?
asked Jul 31 '12 at 11:32
I think the version upgrade is a coincidence. The LastErrorText indicates that the SSH server's response is getting blocked by something external, or it's taking longer than 10 seconds.
answered Jul 31 '12 at 16:23
Thanks for your response.
I set the below in code and it all seems to be working again ok.
I also set the below, but think this is the default anyhow.
ReadTimeoutMs = 0
answered Aug 01 '12 at 09:28