ssh_exchange_identification - deny.hosts blocking ssh access due to my IP changing

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?


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.

Category: ssh Time: 2016-07-29 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.286 (s). 12 q(s)