opensshが8.7から8.8へupgradeした後、下記のようになって、接続できないhostが出てきた...。
$ ssh servername
Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
8.8になってから、相手先のHostのkey-typeから RSAとDSAタイプのhost keyを受けつけなくなったらしい...。
とりあえず、$HOME/.ssh/configに下記を追記したら接続OKになる。
HOST servername
HostKeyAlgorithms +ssh-dss
さらに古いServer(RSA typeを使用している)の相手先だと、host keyおよびpublic key に RSA 追加が無いとだめ...。
とりあえず、$HOME/.ssh/configに下記を追記したら接続OKになる。
HOST servername
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa