sign_and_send_pubkey: no mutual signature supported

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.

5 1 vote
Article Rating
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
A user who was helped
A user who was helped
1 year ago

Thank you very much for this.

It helped me.

Kind regards

Rahul Sharma
Rahul Sharma
11 months ago

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

Thanks.

2
0
Would love your thoughts, please comment.x
()
x
Scroll to Top