Ssh - No matching algo host key

I am trying to ssh from my Mango to Ubuntu and I keep receiving:
“No matching algo host key”

Mango:
Dropbear v2019.78

Ubuntu:
OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022

Any idea?

Can you check if it is the same as

No this is a different story. Windows and putty.
I ssh from Mango (client) to Ubuntu (ssh server)

I recon Mango needs a newer firmware with the latest Dropbear or some walkaround.

I see. Maybe install openssh in Mango router.

hmm You are right. It might be a quick fix for now.

[…]
One time:
ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.8.1

Permanent:
echo -e “\tHostKeyAlgorithms ssh-rsa” >> .ssh/config
[…]

1 Like

with Dropbear v2019.78 available options are:

/usr/bin/ssh -o help
/usr/bin/ssh: Available options:
        ExitOnForwardFailure
        UseSyslog
        Port

so I guess -oHostKeyAlgorithms=+ssh-rsa is not possible.

opkg install openssh-client was my solution. (OpenSSH_8.0p1 on my gl-ar300m, openwrt-19.07.8)

2 Likes

You are writing of changing the SSH client on the router.
The question was about SSH client on an Ubuntu to a router.

So, thanks for the information, but not suitable for the solved question one year ago.
Maybe install another server via opkg would work as well, but to du this you need connection anyways … Maybe via LuCI … But what is the point?

the OP says:

I am trying to ssh from my Mango to Ubuntu and I keep receiving:
“No matching algo host key”

hence mango is the client, and ubuntu is the server,
apologies if i misunderstood it.

okay, my fault … I have read it wrong the whole time.