login about faq



DllDate: May 25 2017
Architecture: Little Endian; 64-bit
Language: Windows Java
VerboseLogging: 0
login: support
      svcName: ssh-userauth
      SentServiceReq: ssh-userauth
    WindowsError: An existing connection was forcibly closed by the remote host.
    WindowsErrorCode: 0x2746
    maxToReceive: 16
    Failed to receive data on the TCP socket
    sshRawPacket: Socket fatal error.
    sshReadMessage: Socket fatal error.
    Error reading service accept.
Lost connection to SSH server.

--AuthenticatePw --ChilkatLog

asked Jul 13 '17 at 07:58

Anonymous's gravatar image


edited Jul 13 '17 at 07:59

Something external, such as a firewall, anti-virus, or some other security infrastructure could be closing the connection. Otherwise, the SSH server decided to close the connection (perhaps after a long period of inactive time between connecting and trying to authenticate)? If the SSH server itself is closing the connection, then it's very strange because your app's call to Connect must've returned true to indicate success -- meaning the SSH secure connection which includes the exchange of algorithms, setting up keys, etc. worked. If so, the very next step would be to authenticate by calling AuthenticatePw (or AuthenticatePk, etc.). In this case, it must be that the first message to initiate the authentication was sent, and then when trying to read the response from the SSH server, the client (Chilkat) found that the connection was closed. Either something external disrupted the connection, or the server decided for some reason to close the connection. Find out where your SSH server logs are located and check to see if you can find any indication of what happened. (I can't really help in SSH server administrative issues such as w/ finding the logs, because that depends on your SSH server implementation and setup..)


answered Jul 13 '17 at 09:05

chilkat's gravatar image

chilkat ♦♦

Thank you, There is a way to try to catch that?


answered Jul 13 '17 at 10:58

Anonymous'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: Jul 13 '17 at 07:58

Seen: 421 times

Last updated: Jul 13 '17 at 10:58

powered by OSQA