<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — SERVER_KEXINIT_SENT Error -1009]]></title>
		<link>https://www.wolfssl.com/forums/topic2338-serverkexinitsent-error-1009.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2338.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SERVER_KEXINIT_SENT Error -1009.]]></description>
		<lastBuildDate>Mon, 07 Jul 2025 17:29:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SERVER_KEXINIT_SENT Error -1009]]></title>
			<link>https://www.wolfssl.com/forums/post8418.html#p8418</link>
			<description><![CDATA[<p>Hi Ajith,</p><p>Is this related to a commercial effort which you have a support contract? If so, please send an email to support@wolfssl.com to open a proper support request.</p><p>Thanks,<br />Eric - wolfSSL Support</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Mon, 07 Jul 2025 17:29:21 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8418.html#p8418</guid>
		</item>
		<item>
			<title><![CDATA[SERVER_KEXINIT_SENT Error -1009]]></title>
			<link>https://www.wolfssl.com/forums/post8417.html#p8417</link>
			<description><![CDATA[<p>I’m setting up an SSH server on an Integrity OS environment. However, when a client attempts to connect, the server immediately terminates the connection and logs the following error:</p><div class="quotebox"><blockquote><p>accept error: SERVER_KEXINIT_SENT, -1009</p></blockquote></div><p>The client initiates the connection from a Windows terminal using the command:</p><div class="quotebox"><blockquote><p>ssh -vvv -i ca-key-pkcs8-attribute.der -o MACs=hmac-sha2-256 -p 2222 user@&lt;ip-Address&gt;</p></blockquote></div><p>The SSH server is running SSH-2.0-wolfSSHv1.4.20, while the client uses OpenSSH_for_Windows_9.5p1 with LibreSSL 3.8.2.</p><br /><p><strong>Server Log is </strong></p><div class="codebox"><pre><code>1970-01-01 00:08:30 [DEBUG] Leaving DoKexInit(), ret = 0

1970-01-01 00:08:30 [DEBUG] PR3: peerMacSz = 0

1970-01-01 00:08:30 [DEBUG] PR4: Shrinking input buffer

1970-01-01 00:08:30 [DEBUG] Entering ShrinkBuffer()

1970-01-01 00:08:30 [DEBUG]   buf-&gt;bufferSz = 1432

1970-01-01 00:08:30 [DEBUG]   buf-&gt;idx = 1432

1970-01-01 00:08:30 [DEBUG]   buf-&gt;length = 1432

1970-01-01 00:08:30 [DEBUG] SB: usedSz = 0, forcedFree = 1

1970-01-01 00:08:30 [DEBUG] SB: releasing dynamic buffer

1970-01-01 00:08:30 [DEBUG] Leaving ShrinkBuffer()

1970-01-01 00:08:30 [DEBUG] PR5: txCount = 464, rxCount = 1432

1970-01-01 00:08:30 [DEBUG] PR1: size = 8

1970-01-01 00:08:30 [INFO] GID: readjust size

1970-01-01 00:08:30 [DEBUG] Receive: recvd = -1

1970-01-01 00:08:30 [DEBUG] accept error: SERVER_KEXINIT_SENT, -1009

1970-01-01 00:08:30 [DEBUG] Entering wolfSSH_get_error_name()

1970-01-01 00:08:30 [DEBUG] Entering wolfSSH_free()

1970-01-01 00:08:30 [DEBUG] Entering sshResourceFree()

1970-01-01 00:08:30 [DEBUG] Entering ShrinkBuffer()

1970-01-01 00:08:30 [DEBUG]   buf-&gt;bufferSz = 16

1970-01-01 00:08:30 [DEBUG]   buf-&gt;idx = 0

1970-01-01 00:08:30 [DEBUG]   buf-&gt;length = 0

1970-01-01 00:08:30 [DEBUG] SB: usedSz = 0, forcedFree = 1

1970-01-01 00:08:30 [DEBUG] Leaving ShrinkBuffer()</code></pre></div><p><strong>The client log is </strong></p><div class="codebox"><pre><code>debug3: order_hostkeyalgs: no algorithms matched; accept original
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
Bad packet length 825833264.
debug2: sshpkt_disconnect: sending SSH2_MSG_DISCONNECT: Packet corrupt
debug3: send packet: type 1
ssh_dispatch_run_fatal: Connection to &lt;ip_address&gt; port 2222: message authentication code incorrect</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ajith.k)]]></author>
			<pubDate>Sat, 05 Jul 2025 15:20:08 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8417.html#p8417</guid>
		</item>
	</channel>
</rss>
