By using AWS re:Post, you agree to the Terms of Use

EC2 instance - Server refused our key


EC2 instance not logging in - Instance ID: e-0a00bb8ecb503d4ea - Ubuntu 16

Since yesterday I can't log into the instance with the key. Message: Server refused our key.

I made an image of the instance and ran it to generate a new key, even with a new key not logging into the instance created from the image. It looks like the instance is corrupted.

Does anyone know how to solve?

1 Answer

There could be multiple reasons why an SSH server (sshd) refuses a private SSH key. So I would suggest to have a look at this article which explains common reasons and resolutions for which you might receive this error.

answered 8 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