Article 59D4C dropbear dbclient Received out-of-order kexdhreply error

dropbear dbclient Received out-of-order kexdhreply error

by
jy824212
from LinuxQuestions.org on (#59D4C)
Hi,

I have deployed AES-GCM as cipher in my server and the kex method are ecdh-sha2-nistp521
signing: ecdsa-sha2-nistp521
cipher suite: aes128-gcm@openssh.com

When I try to use dbclient to talk to my server I have encountered

Received out-of-order kexdhreply error

It works fine while using OpenSSH to talk to the server.

I did a deep investigations.

It seems like from the OpenSSH
the client side should follow this process:

SSH_MSG_KEXINIT
SSH_MSG_KEX_ECDH
SSH_MSG_NEWKEYS
SSH_MSG_SERVICE_ACCEPT

Somehow while using dbclient

It switches back to
SSH_MSG_KEXINIT after SSH_MSG_NEWKEYS so it never reaches SSH_MSG_SERVICE_ACCEPT

I have attached log below.

Any helps will be super grateful
Attached Files
txt.gifdbclient-P521--kexdhreply-out-of-order.txt (5.5 KB)
latest?d=yIl2AUoC8zA latest?i=L3twtjSizKg:6D6Z6ABtj9Q:F7zBnMy latest?i=L3twtjSizKg:6D6Z6ABtj9Q:V_sGLiP latest?d=qj6IDK7rITs latest?i=L3twtjSizKg:6D6Z6ABtj9Q:gIN9vFwL3twtjSizKg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments