What's new

dropbear missing verbose logging

BrimoXD99

Regular Contributor
I'm in the process of troubleshooting Android SSHRemote app written by some other guy...
The issue is that his app is not able to establish connection with my Asus router.
In the log on SSHRemote app we can see only:
2026-03-13T15:07:23.485231|SSH5|DEBUG|SSH_MSG_KEXINIT sending: initial request
2026-03-13T15:12:23.872877|SSH5|DEBUG|KEX cleanup|Connection is closed by foreign host
and then it shows on the app screen: "Connection is closed by foreign host."
and on the router side:
Mar 13 15:07:23 dropbear[1173]: Child connection from 192.168.x.y:48700
Mar 13 15:12:24 dropbear[1173]: Exit before auth from <192.168.x.y:48700>: Error reading: Connection reset by peer

Of course ssh-ed25519 fingerprint key from the router is imported into SSHRemote app.

I'm able to ssh from SSHRemote app to other my Linux devices like Odroid-N2 for which SSHRemote app generate in their log:
2026-03-13T15:07:19.536434|SSH5|DEBUG|SSH_MSG_KEXINIT sending: initial request
2026-03-13T15:07:19.536898|SSH5|DEBUG|SSH_MSG_KEXINIT received
2026-03-13T15:07:19.536946|SSH5|DEBUG|StrictKex from server
2026-03-13T15:07:19.538528|SSH5|DEBUG|SSH_MSG_KEX_ECDH_INIT(30) sent, expecting SSH_MSG_KEX_ECDH_REPLY(31)
2026-03-13T15:07:19.567467|SSH5|DEBUG|read() during initial/strict KEX: command=31
2026-03-13T15:07:19.568035|SSH5|DEBUG|received: 31
2026-03-13T15:07:19.58177|SSH5|DEBUG|StrictKex: reset the c2s sequence number
2026-03-13T15:07:19.581892|SSH5|DEBUG|SSH_MSG_NEWKEYS sent
2026-03-13T15:07:19.58193|SSH5|DEBUG|read() during initial/strict KEX: command=21
2026-03-13T15:07:19.581964|SSH5|DEBUG|SSH_MSG_NEWKEYS received
2026-03-13T15:07:19.582027|SSH5|DEBUG|StrictKex: reset the s2c sequence number
2026-03-13T15:07:19.58205|SSH5|DEBUG|sending SSH_MSG_EXT_INFO
2026-03-13T15:07:19.582217|SSH5|DEBUG|SSH_MSG_SERVICE_REQUEST sent
2026-03-13T15:07:19.582277|SSH5|DEBUG|Received SSH_MSG_EXT_INFO packet
2026-03-13T15:07:19.592071|SSH5|DEBUG|Received SSH_MSG_EXT_INFO packet

Would like to add that I have no issues with establishing ssh connection to my router from:
WinSCP (on my PC)
PuTTy (on my PC)
Termius (on the same android phone)
For these apps I can see:
Mar 14 11:16:38 dropbear[21489]: Child connection from 192.168.x.z:60414
Mar 14 11:16:38 dropbear[21489]: Password auth succeeded for 'myrootaccount' from 192.168.x.z:60414
Mar 14 11:21:50 dropbear[21489]: Exit (myrootaccount) from <192.168.x.z:60414>: Exited normally

So the only "pair" for which ssh connection is not established is: SSHRemote app on my Android phone -> Asus router.

I've been asked to run dropbear session with debug option -v but dropbear implementation on Asus Merlin doesn't have this switch.
What options we have to move forward with troubleshooting?
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top