Logo

Armand.nz

Home / About / Linkedin / Github

Can no longer ssh into GL-inet router no matching host key type found

#gl-inet #ssh |

If you can no longer ssh into my GL-inet router, e.g. I have a GL-AR150 and GL-MV1000, you may have seen the error:

Unable to negotiate with 10.0.0.177 port 22: no matching host key type found. Their offer: ssh-rsa

You can try to use

ssh -oHostKeyAlgorithms=+ssh-rsa root@$IP_ADDRESS

Example:

❯ ssh [email protected]
Unable to negotiate with 10.0.0.177 port 22: no matching host key type found. Their offer: ssh-rsa

❯ ssh -oHostKeyAlgorithms=+ssh-rsa [email protected]
The authenticity of host '10.0.0.177 (10.0.0.177)' can't be established.
RSA key fingerprint is SHA256:OsDEz3+ehfIqC58qI4NPAsSUespplwUyewtYUFHX+bk.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '10.0.0.177' (RSA) to the list of known hosts.
sign_and_send_pubkey: no mutual signature supported
[email protected]'s password:


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.8, r11364-ef56c85848
 -----------------------------------------------------
root@GL-MV1000:~#
comments powered byDisqus

Copyright © Armand