
実行中の ec2 インスタンスがあり、ubuntu 20.04.5 LTS では ssh (PEM) ファイルで接続できましたが、ubuntu 22.04.1 LTS にアップグレードした後は機能しません。設定やその他の変更は行っていません。認証ログには次のエラーが表示されます。
userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
問題解決にご協力ください
アップデート
これはec2で受け取った通知です
Authenticating with public key "imported-openssh-key"
Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.15.0-1019-aws x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Mon Sep 5 13:09:50 UTC 2022
System load: 0.0 Processes: 102
Usage of /: 35.7% of 7.57GB Users logged in: 0
Memory usage: 15% IPv4 address for ens5: IP
Swap usage: 0%
0 updates can be applied immediately.
New release '22.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.