Cannot ssh to AWS server when upgrade to macOS Sonoma version

When I try to login into AWS server from my MacBook Pro we got the error message below


# ssh -p 22 -i /Users/user_name/.ssh/id_ed25519 ubuntu@domain_name.com


Load key "/Users/user_name/.ssh/id_ed25519": invalid format

ubuntu@domain_namecom: Permission denied (publickey)


My colleague still in the macOS Ventura 13.5.2, which enables us to login into the AWS server via SSH.



In addition, the problem persists with all servers, not only with those aws... we have local server with ubuntu lts server version

Posted on Sep 28, 2023 9:29 AM

Reply
Question marked as Best reply

Posted on Dec 6, 2023 5:34 AM

I had a similar issue. tried many tips, but in the end it helped to:

ssh-add ~/.ssh/bitbucket_key

the key is added this way to the agent.

Suddenly it worked...

Hope this helps.

Regards

7 replies

Cannot ssh to AWS server when upgrade to macOS Sonoma version

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.