Fix for Older SSH Keys Not Working on Newer Versions of Debian / Ubuntu
Thursday, May 25th, 2023Fix for SSH Keys Not Working on Newer Versions of Debian / Ubuntu
If your old SSH keys are not working on newer versions of Ubuntu / Debian, and you're being prompted to login (~/.ssh/config configuration being ignored), the fix is to add the following line to the bottom of the /etc/ssh/ssh_config file:
PubkeyAcceptedKeyTypes +ssh-rsa
That's it. It will work again. You may need to restart the ssh service
sudo service ssh restart
https://askubuntu.com/questions/1404049/ssh-without-password-does-not-work-after-upgrading-from-18-04-to-22-04