久々にSSHでサーバにログインしようとすると、タイトルのようなエラーが出た。
% ssh sin-cos.com
no matching host key type found. Their offer: ssh-rsa,ssh-dss
以下のオプションを追加するとログイン可能らしい。
% ssh -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=ssh-dss,ssh-rsa sin-cos.com
環境によっては「-oHostKeyAlgorithms=+ssh-rsa」だけでいけるかも。