0

Today my IP address changed. Due to this my ubuntu server has locked me out. When I try to access the server via SSH, I am presented with the follow error:

ssh_exchange_identification: read: Connection reset by peer

I presume this is down to my new IP address not appearing on the hosts.allow list and therefore being blocked.

How can I regain access? It is a remote amazon EC2 server. Will rebooting help?

sebix
  • 4,432

1 Answers1

2

If AWS security group is denying access request then :

1.Check security group assigned to that instance on AWS console for port 22 and update your new IP there.

You can edit that rule and update your new IP in allow from.

Rebooting might not help you in this case.

Hope this helps else we can debug further.