# Can no longer ssh into router "no matching host key type found. Their offer: ssh-rsa"

**URL:** <https://forum.gl-inet.com/t/can-no-longer-ssh-into-router-no-matching-host-key-type-found-their-offer-ssh-rsa/20915>\
**Category:** Router\
**Created:** [April 3, 2022, 1:16am UTC](https://forum.gl-inet.com/t/can-no-longer-ssh-into-router-no-matching-host-key-type-found-their-offer-ssh-rsa/20915 "2022-04-03T01:16:22Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![smiths](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/s/9dc877/32.png) [@smiths](https://forum.gl-inet.com/u/smiths)\
**Post date:** [April 4, 2022, 12:20pm UTC](https://forum.gl-inet.com/t/can-no-longer-ssh-into-router-no-matching-host-key-type-found-their-offer-ssh-rsa/20915/12 "2022-04-04T12:20:57Z")

</div>

I use the Cygwin ssh client as I like bash over cmd or powershell. YMMV  
I get the same fairly easy to overcome, as below.

```auto
Simon@MSI ~
$

Simon@MSI ~
$

Simon@MSI ~
$ ssh root@10.101.16.1
Unable to negotiate with 10.101.16.1 port 22: no matching host key type found. Their offer: ssh-rsa

Simon@MSI ~
$ ssh -oHostKeyAlgorithms=+ssh-rsa root@10.101.16.1
root@10.101.16.1's password:

You can permanently mod you Home directory ssh config quckest way using my example:
Simon@MSI ~
$ echo Host 10.101.16.1 >> .ssh/config

Simon@MSI ~
$ echo -e "\tHostKeyAlgorithms ssh-rsa" >> .ssh/config

Simon@MSI ~
$ ssh root@10.101.16.1
root@10.101.16.1's password:

```

Simon

---

_[View the full topic](https://forum.gl-inet.com/t/can-no-longer-ssh-into-router-no-matching-host-key-type-found-their-offer-ssh-rsa/20915)._
