How To Fix SSH Permission Denied From macOS Ventura To Amazon Linux

I have been using RSA SSH keys forever to login to my various AWS EC2 instances.
With macOS Ventura 13.3.1 ssh failed with the “Permission Denied” error. Using ssh -vvv
, I saw that the RSA key was now being rejected.
After much research, I decided to implement new keys on the client (Ventura) side using ed25519, like this:
1 2 3 |
cd ~/.ssh ssh-keygen -t ed25519 cat id_ed25519.pub |
I then placed the new id_ed25519.pub
contents into the ~/.ssh/authorized_keys
files on the target nodes, and everything started working!
Leave Your Comment
All fields marked with "*" are required.