sign_and_send_pubkey: no mutual signature supported

04. December 2022 AWS 2


Today i was not able to SSH to one of my CentOS7 Server. I have got the below error on SSH.

sign_and_send_pubkey: no mutual signature supported
[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Also, tried to SSH to couple of other servers launched during that time and received the same error.

As i checked, my mac was updated recently to Ventura 13.0.1 and it looks like the support for ssh-rsa KeyType was removed fro the ssh client.


The quick solution to access the server was to add the below lines to the client system, which is macOS in my case, ~/.ssh/config file.

You can use vim ~/.ssh/config to edit the file and add lines.

PubkeyAcceptedKeyTypes +ssh-rsa

Once you have the access to the server, please update the ssh related packages on the server.

5 1 vote
Article Rating

Notify of
Newest Most Voted
Inline Feedbacks
View all comments
A user who was helped
A user who was helped
8 months ago

Thank you very much for this.

It helped me.

Kind regards

Rahul Sharma
Rahul Sharma
4 months ago

Wow, it worked like a charm. Spent so much time on this.