- Published on
```shell
~/.ssh
❯ paru -Ss openssh | rg install
core/openssh 8.8p1-1 [0B 5.90MiB] [Installed]
```
如果你最近升级到了 openssh 8.8-p1 版, 你会发现连接某些之前连接得好好的服务器突然无法连接:
> Unable to negotiate with x.x.x.x port 2222: no matching host key type found. Their offer: ssh-rsa
解决办法
```shell
ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa user@myhost -p 2222
...