sign_and_send_pubkey: no mutual signature supported

04. December 2022 AWS 2

Issue

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.

Solution

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.


2 thoughts on “sign_and_send_pubkey: no mutual signature supported”

  • 1
    A user who was helped on January 13, 2023 Reply

    Thank you very much for this.

    It helped me.

    Kind regards

  • 2
    Rahul Sharma on April 24, 2023 Reply

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

    Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *