login about faq

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?

asked Oct 05 '12 at 08:30

chilkat's gravatar image

chilkat ♦♦

An SSH connection is established as follows:

  1. A TCP/IP socket connection is established.
  2. The client-side sends a "client identifier" message, and at the same time the server sends a similar message (to indicate the server's version).
  3. The key exchange negotiation now begins with each side sending a "KEX_INIT" message that indicates what algorithms are supported.
  4. The back-and-forth exchange continues until the keys are established for the connection and the secure channel is established.

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


answered Oct 05 '12 at 08:46

chilkat's gravatar image

chilkat ♦♦

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: Oct 05 '12 at 08:30

Seen: 16,288 times

Last updated: Oct 05 '12 at 08:46

powered by OSQA