Question:
The Ssh.Connect method fails and when I examine the LastErrorText, I see the error:
An established connection was aborted by the software in your host machine.What is wrong?
An SSH connection is established as follows:
The "An established connection was aborted by the software in your host machine." is caused by the following:
The TCP/IP connection is established without problem. The back-and-forth negotiation begins. However, at some point the server decides, for some unknown reason, that it's simply going to drop the connection. This can happen while the client is still sending data on the connection, and the client happily continues to do so. Then, when the client attempts to read the next server response, it fails with the error. Unfortunately, there is no information available to the client to understand WHY the server decided to disconnect. The only possible source of information would be to examine the server-side logs for more information.
The "An established connection was aborted by the software in your host machine." error can happen in virtually any Internet protocol (HTTP, SSH, FTP, POP3, SMTP, etc.) See this web page for more information: http://www.chilkatsoft.com/p/p_299.asp