我有一个正在运行的 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.