I'm implementing the ssh ftp protocol to connect to an sftp server on port 22 and I keep getting a FIN ACK from the server after I send either a ssh binary packet SSH_KEX_MSG_DH_GEX_REQUEST or an SSH_MSG_KEXINIT, which seems to close the connection. I want to keep the connection open so that I can establish the server authentication. What could be causing this? asked 12 Feb '14, 08:47 mikepol |
One Answer:
a bug in your ssh protocol implementation, which causes the server to close the session. You should enable debugging in the SSH server and check if/what it is reporting. Regards answered 12 Feb '14, 08:58 Kurt Knochner ♦ |
Thanks Kurt. I'll give that a shot.
O.K.
Hint: If a supplied answer resolves your question can you please "accept" it by clicking the checkmark icon next to it. This highlights good answers for the benefit of subsequent users with the same or similar questions.