Can't connect to EC2 instance via ssh


I can't access my ec2 instance via ssh, when I try to I get returned "sign_and_send_pubkey: no mutual signature supported" I have the .pem in the directory I'm working in and I have done the "chmod 400 .pem" Can anyone help me with this please?

1 Answer


This error means that the hash algorithm your key uses is not compatible with the server. Is there a chance you're using the wrong key file? Can you try and connect using EC2 Instance Connect or AWS Systems Manager Session Manager?

profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions