question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No matching algo hostkey with OpenWrt 19.07.03 Dropbear v2019.78

See original GitHub issue

I upgraded my router to OpenWrt 19.07.03 that includes Dropbear v2019.78 Tested with connectbot 1.9.6 and with build 1.9.7-31 on Android 9, both resulted in the same output

Key exchange was not finished, connection is closed.
Cannot negotiate, proposals do not match.

On dropbear side I get:

authpriv.info dropbear[8624]: Exit before auth: No matching algo hostkey

Works fine with OpenWrt 18.06.08 which uses Dropbear v2017.75

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
nsmith1024commented, Nov 18, 2022

Has this been fixed, im having the same problem, scp dont work on opwnWRT

0reactions
mqucommented, Nov 27, 2022

you can add this option on ssh command line : “-oHostKeyAlgorithms=+ssh-rsa” ; link.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to connect via SSH (no matching host key type found)
Attempting SSH login I receive the following error: Unable to negotiate with 192.168.1.1 port 22: no matching host key type found.
Read more >
Cannot use SSH key from WAN - OpenWrt Forum
No matching algo hostkey with OpenWrt 19.07.03 Dropbear v2019.78 · I edited the working entry to use the WAN address...it worked! :smile: ·...
Read more >
no matching host key type found. Their offer: ssh-rsa - For ...
Dropbear on OpenWrt offers an ssh-rsa key, which is rejected by openssh because it is not in it's list of accepted keys (implicit...
Read more >
What kind of algo is supported by dropbear in 19.07?
You need to generate an RSA key pair. Then set up Dropbear key-based authentication. It must work when configured properly.
Read more >
Dropbear - ssh to OpenWrt no longer working - For Developers
I guess that's why the server says "No matching algo hostkey" for some odd reason. trendy September 8, 2020, 1:57pm #4.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found